Lines Matching refs:gfx

522 	    adev->gfx.rlc.funcs &&
523 adev->gfx.rlc.funcs->is_rlcg_access_range) {
524 if (adev->gfx.rlc.funcs->is_rlcg_access_range(adev, reg))
1978 adev->gfx.config.max_shader_engines = le32_to_cpu(gpu_info_fw->gc_num_se);
1979 adev->gfx.config.max_cu_per_sh = le32_to_cpu(gpu_info_fw->gc_num_cu_per_sh);
1980 adev->gfx.config.max_sh_per_se = le32_to_cpu(gpu_info_fw->gc_num_sh_per_se);
1981 adev->gfx.config.max_backends_per_se = le32_to_cpu(gpu_info_fw->gc_num_rb_per_se);
1982 adev->gfx.config.max_texture_channel_caches =
1984 adev->gfx.config.max_gprs = le32_to_cpu(gpu_info_fw->gc_num_gprs);
1985 adev->gfx.config.max_gs_threads = le32_to_cpu(gpu_info_fw->gc_num_max_gs_thds);
1986 adev->gfx.config.gs_vgt_table_depth = le32_to_cpu(gpu_info_fw->gc_gs_table_depth);
1987 adev->gfx.config.gs_prim_buffer_depth = le32_to_cpu(gpu_info_fw->gc_gsprim_buff_depth);
1988 adev->gfx.config.double_offchip_lds_buf =
1990 adev->gfx.cu_info.wave_front_size = le32_to_cpu(gpu_info_fw->gc_wave_size);
1991 adev->gfx.cu_info.max_waves_per_simd =
1993 adev->gfx.cu_info.max_scratch_slots_per_cu =
1995 adev->gfx.cu_info.lds_size = le32_to_cpu(gpu_info_fw->gc_lds_size);
2000 adev->gfx.config.num_sc_per_sh =
2002 adev->gfx.config.num_packer_per_sc =
2387 if (adev->gfx.mcbp) {
2900 container_of(work, struct amdgpu_device, gfx.gfx_off_delay_work.work);
2902 WARN_ON_ONCE(adev->gfx.gfx_off_state);
2903 WARN_ON_ONCE(adev->gfx.gfx_off_req_count);
2906 adev->gfx.gfx_off_state = true;
2999 /* skip suspend of gfx/mes and psp for S0ix
3000 * gfx is in gfxoff state, so on resume it will exit gfxoff just
3024 (adev->flags & AMD_IS_APU) && adev->gfx.imu.funcs &&
3505 adev->gfx.mcbp = true;
3507 adev->gfx.mcbp = false;
3510 adev->gfx.mcbp = true;
3512 if (adev->gfx.mcbp)
3558 bitmap_zero(adev->gfx.pipe_reserve_bitmap, AMDGPU_MAX_COMPUTE_QUEUES);
3588 rw_init(&adev->gfx.gpu_clock_mutex, "gfxclk");
3590 rw_init(&adev->gfx.pipe_reserve_mutex, "pipers");
3591 rw_init(&adev->gfx.gfx_off_mutex, "gfxoff");
3592 rw_init(&adev->gfx.partition_mutex, "gfxpar");
3627 INIT_DELAYED_WORK(&adev->gfx.gfx_off_delay_work,
3632 adev->gfx.gfx_off_req_count = 1;
3633 adev->gfx.gfx_off_residency = 0;
3634 adev->gfx.gfx_off_entrycount = 0;
3858 adev->gfx.config.max_shader_engines,
3859 adev->gfx.config.max_sh_per_se,
3860 adev->gfx.config.max_cu_per_sh,
3861 adev->gfx.cu_info.number);
3896 printf(" %d CU rev 0x%02x\n", adev->gfx.cu_info.number, adev->rev_id);
4231 flush_delayed_work(&adev->gfx.gfx_off_delay_work);