Home
last modified time | relevance | path

Searched refs:GRAPHICS_VER (Results 1 – 25 of 98) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_hdcp_regs.h85 (GRAPHICS_VER(dev_priv) >= 12 ? \
98 (GRAPHICS_VER(dev_priv) >= 12 ? \
108 (GRAPHICS_VER(dev_priv) >= 12 ? \
118 (GRAPHICS_VER(dev_priv) >= 12 ? \
129 (GRAPHICS_VER(dev_priv) >= 12 ? \
140 (GRAPHICS_VER(dev_priv) >= 12 ? \
151 (GRAPHICS_VER(dev_priv) >= 12 ? \
162 (GRAPHICS_VER(dev_priv) >= 12 ? \
203 (GRAPHICS_VER(dev_priv) >= 12 ? \
214 (GRAPHICS_VER(dev_priv) >= 12 ? \
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_suspend.c41 if (GRAPHICS_VER(dev_priv) == 2 && IS_MOBILE(dev_priv)) { in intel_save_swf()
48 } else if (GRAPHICS_VER(dev_priv) == 2) { in intel_save_swf()
66 if (GRAPHICS_VER(dev_priv) == 2 && IS_MOBILE(dev_priv)) { in intel_restore_swf()
73 } else if (GRAPHICS_VER(dev_priv) == 2) { in intel_restore_swf()
94 if (GRAPHICS_VER(dev_priv) <= 4) in i915_save_display()
97 if (GRAPHICS_VER(dev_priv) == 4) in i915_save_display()
113 if (GRAPHICS_VER(dev_priv) == 4) in i915_restore_display()
118 if (GRAPHICS_VER(dev_priv) <= 4) in i915_restore_display()
Di915_gpu_error.c447 if (ee->engine->class != RENDER_CLASS || GRAPHICS_VER(m->i915) <= 3) in error_print_instdone()
453 if (GRAPHICS_VER(m->i915) <= 6) in error_print_instdone()
466 if (GRAPHICS_VER(m->i915) < 12) in error_print_instdone()
559 if (GRAPHICS_VER(m->i915) >= 4) { in error_print_engine()
568 if (GRAPHICS_VER(m->i915) >= 6) { in error_print_engine()
572 if (GRAPHICS_VER(m->i915) >= 11) { in error_print_engine()
584 if (GRAPHICS_VER(m->i915) >= 8) { in error_print_engine()
758 if (GRAPHICS_VER(m->i915) >= 8) in err_print_gt_global()
762 if (GRAPHICS_VER(m->i915) == 7) in err_print_gt_global()
768 if (GRAPHICS_VER(m->i915) == 12) in err_print_gt_global()
[all …]
Dintel_dram.c128 if (GRAPHICS_VER(i915) >= 11) { in skl_dram_get_dimm_info()
401 if (GRAPHICS_VER(dev_priv) == 12) { in icl_pcode_read_mem_global_info()
510 if (GRAPHICS_VER(i915) < 9 || IS_DG2(i915) || !HAS_DISPLAY(i915)) in intel_dram_detect()
521 else if (GRAPHICS_VER(i915) >= 12) in intel_dram_detect()
523 else if (GRAPHICS_VER(i915) >= 11) in intel_dram_detect()
552 if (!(IS_HASWELL(i915) || IS_BROADWELL(i915) || GRAPHICS_VER(i915) >= 9)) in intel_dram_edram_detect()
566 if (GRAPHICS_VER(i915) < 9) in intel_dram_edram_detect()
Dintel_pch.c17 drm_WARN_ON(&dev_priv->drm, GRAPHICS_VER(dev_priv) != 5); in intel_pch_type()
22 GRAPHICS_VER(dev_priv) != 6 && !IS_IVYBRIDGE(dev_priv)); in intel_pch_type()
27 GRAPHICS_VER(dev_priv) != 6 && !IS_IVYBRIDGE(dev_priv)); in intel_pch_type()
193 else if (GRAPHICS_VER(dev_priv) == 6 || IS_IVYBRIDGE(dev_priv)) in intel_virt_detect_pch()
195 else if (GRAPHICS_VER(dev_priv) == 5) in intel_virt_detect_pch()
Dintel_wopcm.c85 if (GRAPHICS_VER(i915) >= 11) in intel_wopcm_init_early()
97 else if (GRAPHICS_VER(i915) >= 11) in context_reserved_size()
149 if (GRAPHICS_VER(i915) == 9 && !gen9_check_dword_gap(i915, guc_wopcm_base, in check_hw_restrictions()
153 if (GRAPHICS_VER(i915) == 9 && in check_hw_restrictions()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ring_submission.c40 if (GRAPHICS_VER(engine->i915) >= 6) in set_hwstam()
54 if (GRAPHICS_VER(engine->i915) >= 4) in set_hws_pga()
82 if (GRAPHICS_VER(engine->i915) == 7) { in set_hwsp()
104 } else if (GRAPHICS_VER(engine->i915) == 6) { in set_hwsp()
166 if (GRAPHICS_VER(engine->i915) >= 7) { in set_pp_dir()
245 if (GRAPHICS_VER(engine->i915) > 2) in xcs_resume()
700 if (GRAPHICS_VER(i915) == 7) in mi_set_context()
702 else if (GRAPHICS_VER(i915) == 5) in mi_set_context()
716 if (GRAPHICS_VER(i915) == 7) { in mi_set_context()
732 } else if (GRAPHICS_VER(i915) == 5) { in mi_set_context()
[all …]
Dintel_ggtt_fencing.c64 if (GRAPHICS_VER(fence_to_i915(fence)) >= 6) { in i965_write_fence_reg()
181 if (GRAPHICS_VER(i915) == 2) in fence_write()
183 else if (GRAPHICS_VER(i915) == 3) in fence_write()
196 return GRAPHICS_VER(fence_to_i915(fence)) < 4; in gpu_uses_fence_registers()
576 if (GRAPHICS_VER(i915) >= 8 || IS_VALLEYVIEW(i915)) { in detect_bit_6_swizzle()
586 } else if (GRAPHICS_VER(i915) >= 6) { in detect_bit_6_swizzle()
618 } else if (GRAPHICS_VER(i915) == 5) { in detect_bit_6_swizzle()
625 } else if (GRAPHICS_VER(i915) == 2) { in detect_bit_6_swizzle()
704 if (GRAPHICS_VER(i915) == 4 && in detect_bit_6_swizzle()
850 else if (GRAPHICS_VER(i915) >= 7 && in intel_ggtt_init_fences()
[all …]
Dintel_gt_pm_irq.c20 if (GRAPHICS_VER(i915) >= 11) { in write_pm_imr()
23 } else if (GRAPHICS_VER(i915) >= 8) { in write_pm_imr()
65 i915_reg_t reg = GRAPHICS_VER(gt->i915) >= 8 ? GEN8_GT_IIR(2) : GEN6_PMIIR; in gen6_gt_pm_reset_iir()
81 if (GRAPHICS_VER(i915) >= 11) { in write_pm_ier()
84 } else if (GRAPHICS_VER(i915) >= 8) { in write_pm_ier()
Dintel_gt_pm_debugfs.c31 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_open()
37 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_release()
136 if (GRAPHICS_VER(i915) >= 9) { in gen6_drpc()
143 if (GRAPHICS_VER(i915) <= 7) in gen6_drpc()
150 if (GRAPHICS_VER(i915) >= 9) { in gen6_drpc()
185 if (GRAPHICS_VER(i915) >= 9) { in gen6_drpc()
201 if (GRAPHICS_VER(i915) <= 7) { in gen6_drpc()
282 else if (GRAPHICS_VER(i915) >= 6) in drpc_show()
301 if (GRAPHICS_VER(i915) == 5) { in intel_gt_pm_frequency_dump()
346 } else if (GRAPHICS_VER(i915) >= 6) { in intel_gt_pm_frequency_dump()
[all …]
Dintel_gt.c147 } else if (GRAPHICS_VER(i915) == 2) { in init_unused_rings()
150 } else if (GRAPHICS_VER(i915) == 3) { in init_unused_rings()
167 if (HAS_EDRAM(i915) && GRAPHICS_VER(i915) < 9) in intel_gt_init_hw()
240 if (GRAPHICS_VER(i915) != 2) in intel_gt_clear_error_registers()
243 if (GRAPHICS_VER(i915) < 4) in intel_gt_clear_error_registers()
261 if (GRAPHICS_VER(i915) >= 12) { in intel_gt_clear_error_registers()
264 } else if (GRAPHICS_VER(i915) >= 8) { in intel_gt_clear_error_registers()
267 } else if (GRAPHICS_VER(i915) >= 6) { in intel_gt_clear_error_registers()
305 if (GRAPHICS_VER(gt->i915) >= 12) { in gen8_check_faults()
345 if (GRAPHICS_VER(i915) >= 8) in intel_gt_check_and_clear_faults()
[all …]
Dintel_gt_clock_utils.c136 if (GRAPHICS_VER(uncore->i915) >= 11) in read_clock_frequency()
138 else if (GRAPHICS_VER(uncore->i915) >= 9) in read_clock_frequency()
140 else if (GRAPHICS_VER(uncore->i915) >= 5) in read_clock_frequency()
151 if (GRAPHICS_VER(gt->i915) == 11) in intel_gt_init_clock_frequency()
208 if (GRAPHICS_VER(gt->i915) == 6) in intel_gt_ns_to_pm_interval()
Dintel_lrc.c54 if (GRAPHICS_VER(engine->i915) >= 11) in set_offsets()
77 if (GRAPHICS_VER(engine->i915) >= 11) in set_offsets()
623 GEM_BUG_ON(GRAPHICS_VER(engine->i915) >= 12 && in reg_offsets()
631 else if (GRAPHICS_VER(engine->i915) >= 12) in reg_offsets()
633 else if (GRAPHICS_VER(engine->i915) >= 11) in reg_offsets()
635 else if (GRAPHICS_VER(engine->i915) >= 9) in reg_offsets()
642 else if (GRAPHICS_VER(engine->i915) >= 12) in reg_offsets()
644 else if (GRAPHICS_VER(engine->i915) >= 9) in reg_offsets()
655 else if (GRAPHICS_VER(engine->i915) >= 12) in lrc_ring_mi_mode()
657 else if (GRAPHICS_VER(engine->i915) >= 9) in lrc_ring_mi_mode()
[all …]
Dintel_engine_cs.c274 switch (GRAPHICS_VER(gt->i915)) { in intel_engine_context_size()
276 MISSING_CASE(GRAPHICS_VER(gt->i915)); in intel_engine_context_size()
311 GRAPHICS_VER(gt->i915), cxt_size * 64, in intel_engine_context_size()
327 if (GRAPHICS_VER(gt->i915) < 8) in intel_engine_context_size()
339 if (GRAPHICS_VER(i915) >= bases[i].graphics_ver) in __engine_mmio_base()
366 if (GRAPHICS_VER(engine->i915) < 6 && engine->class != RENDER_CLASS) in intel_engine_set_hwsp_writemask()
369 if (GRAPHICS_VER(engine->i915) >= 3) in intel_engine_set_hwsp_writemask()
473 engine->reset_domain = get_reset_domain(GRAPHICS_VER(gt->i915), in intel_engine_setup()
512 if (GRAPHICS_VER(i915) == 12 && (engine->flags & I915_ENGINE_HAS_RCS_REG_STATE)) in intel_engine_setup()
615 if (GRAPHICS_VER(i915) >= 11 || in __setup_engine_capabilities()
[all …]
Dintel_rps.c221 if (GRAPHICS_VER(gt->i915) >= 11) in rps_reset_interrupts()
655 if (GRAPHICS_VER(rps_to_i915(rps)) >= 9) { in rps_limits()
722 (GRAPHICS_VER(gt->i915) > 9 ? 0 : GEN6_RP_MEDIA_TURBO) | in rps_set_power()
799 if (GRAPHICS_VER(i915) >= 9) in gen6_rps_set()
840 else if (GRAPHICS_VER(i915) >= 6) in rps_set()
847 if (update && GRAPHICS_VER(i915) >= 6) in rps_set()
881 if (GRAPHICS_VER(rps_to_i915(rps)) == 5) in intel_rps_unpark()
1110 if (GRAPHICS_VER(i915) >= 10) in gen6_rps_get_freq_caps()
1119 if (IS_GEN9_BC(i915) || GRAPHICS_VER(i915) >= 11) { in gen6_rps_get_freq_caps()
1146 IS_GEN9_BC(i915) || GRAPHICS_VER(i915) >= 11) { in gen6_rps_init()
[all …]
Dselftest_gt_pm.c78 if (GRAPHICS_VER(gt->i915) < 4) /* Any CS_TIMESTAMP? */ in live_gt_clocks()
81 if (GRAPHICS_VER(gt->i915) == 5) in live_gt_clocks()
90 if (GRAPHICS_VER(gt->i915) == 4) in live_gt_clocks()
109 if (GRAPHICS_VER(engine->i915) < 7 && engine->id != RCS0) in live_gt_clocks()
Dintel_workarounds.c778 if (GRAPHICS_VER(i915) >= 12) in __intel_engine_init_ctx_wa()
792 else if (GRAPHICS_VER(i915) == 12) in __intel_engine_init_ctx_wa()
794 else if (GRAPHICS_VER(i915) == 11) in __intel_engine_init_ctx_wa()
810 else if (GRAPHICS_VER(i915) == 7) in __intel_engine_init_ctx_wa()
812 else if (GRAPHICS_VER(i915) == 6) in __intel_engine_init_ctx_wa()
814 else if (GRAPHICS_VER(i915) < 8) in __intel_engine_init_ctx_wa()
817 MISSING_CASE(GRAPHICS_VER(i915)); in __intel_engine_init_ctx_wa()
944 GEM_BUG_ON(GRAPHICS_VER(i915) != 9); in gen9_wa_init_mcr()
1099 GEM_BUG_ON(GRAPHICS_VER(gt->i915) < 11); in icl_wa_init_mcr()
1537 else if (GRAPHICS_VER(i915) == 12) in gt_init_workarounds()
[all …]
Dintel_gtt.c438 else if (GRAPHICS_VER(i915) >= 9 && GRAPHICS_VER(i915) <= 11) in gtt_write_workarounds()
455 GRAPHICS_VER(i915) <= 10) in gtt_write_workarounds()
543 if (GRAPHICS_VER(i915) >= 9) in bdw_setup_private_ppat()
592 GEM_BUG_ON(GRAPHICS_VER(i915) < 8); in setup_private_pat()
594 if (GRAPHICS_VER(i915) >= 12) in setup_private_pat()
596 else if (GRAPHICS_VER(i915) >= 11) in setup_private_pat()
Dintel_rc6.c137 if (GRAPHICS_VER(gt->i915) >= 12) { in gen11_rc6_enable()
154 if (GRAPHICS_VER(rc6_to_i915(rc6)) >= 11) { in gen9_rc6_enable()
276 if (GRAPHICS_VER(i915) == 6 && ret) { in gen6_rc6_enable()
278 } else if (GRAPHICS_VER(i915) == 6 && in gen6_rc6_enable()
547 if (GRAPHICS_VER(i915) >= 9) in __intel_rc6_disable()
607 else if (GRAPHICS_VER(i915) >= 11) in intel_rc6_enable()
609 else if (GRAPHICS_VER(i915) >= 9) in intel_rc6_enable()
613 else if (GRAPHICS_VER(i915) >= 6) in intel_rc6_enable()
Dselftest_llc.c46 intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)), in gen6_verify_ring_freq()
56 intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)), in gen6_verify_ring_freq()
Dintel_llc.c82 if (GRAPHICS_VER(i915) >= 9) { in calc_ia_freq()
88 } else if (GRAPHICS_VER(i915) >= 8) { in calc_ia_freq()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Digt_spinner.c178 if (GRAPHICS_VER(rq->engine->i915) >= 8) { in igt_spinner_create_request()
182 } else if (GRAPHICS_VER(rq->engine->i915) >= 6) { in igt_spinner_create_request()
186 } else if (GRAPHICS_VER(rq->engine->i915) >= 4) { in igt_spinner_create_request()
198 if (GRAPHICS_VER(rq->engine->i915) >= 8) in igt_spinner_create_request()
202 else if (GRAPHICS_VER(rq->engine->i915) >= 6) in igt_spinner_create_request()
220 if (GRAPHICS_VER(rq->engine->i915) <= 5) in igt_spinner_create_request()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_tiling.c67 if (GRAPHICS_VER(i915) >= 4) { in i915_gem_fence_size()
74 if (GRAPHICS_VER(i915) == 3) in i915_gem_fence_size()
107 if (GRAPHICS_VER(i915) >= 4) in i915_gem_fence_alignment()
135 if (GRAPHICS_VER(i915) >= 7) { in i915_tiling_ok()
138 } else if (GRAPHICS_VER(i915) >= 4) { in i915_tiling_ok()
149 if (GRAPHICS_VER(i915) == 2 || in i915_tiling_ok()
Di915_gem_stolen.c50 if (GRAPHICS_VER(i915) >= 8 && start < 4096) in i915_gem_stolen_insert_node_in_range()
96 if (GRAPHICS_VER(i915) <= 4 && in i915_adjust_stolen()
103 if (GRAPHICS_VER(i915) == 4) in i915_adjust_stolen()
168 if (!r && GRAPHICS_VER(i915) != 3) { in i915_adjust_stolen()
209 drm_WARN(&i915->drm, GRAPHICS_VER(i915) == 5, in g4x_get_stolen_reserved()
411 if (i915_vtd_active(i915) && GRAPHICS_VER(i915) < 8) { in i915_gem_init_stolen()
433 if (GRAPHICS_VER(i915) >= 11) { in i915_gem_init_stolen()
436 } else if (GRAPHICS_VER(i915) >= 8) { in i915_gem_init_stolen()
443 } else if (GRAPHICS_VER(i915) >= 7) { in i915_gem_init_stolen()
450 } else if (GRAPHICS_VER(i915) >= 6) { in i915_gem_init_stolen()
[all …]
Di915_gemfs.c32 if (GRAPHICS_VER(i915) < 11 && !i915_vtd_active(i915)) in i915_gemfs_init()
53 GRAPHICS_VER(i915) >= 11 ? " on this platform!" : in i915_gemfs_init()

1234