Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A 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.3-rc2/drivers/gpu/drm/i915/
A 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()
A Di915_gpu_error.c454 if (GRAPHICS_VER(m->i915) <= 6) in error_print_instdone()
467 if (GRAPHICS_VER(m->i915) < 12) in error_print_instdone()
759 if (GRAPHICS_VER(m->i915) >= 8) in err_print_gt_global()
1222 if (GRAPHICS_VER(i915) >= 6) { in engine_record_registers()
1238 if (GRAPHICS_VER(i915) >= 4) { in engine_record_registers()
1275 if (GRAPHICS_VER(i915) > 2) in engine_record_registers()
1746 if (GRAPHICS_VER(i915) >= 6) in gt_record_display_regs()
1749 if (GRAPHICS_VER(i915) >= 8) in gt_record_display_regs()
1826 if (GRAPHICS_VER(i915) == 7) in gt_record_global_regs()
1853 if (GRAPHICS_VER(i915) >= 7) in gt_record_global_regs()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_gt_clock_utils.c159 if (GRAPHICS_VER(uncore->i915) >= 11) in read_clock_frequency()
161 else if (GRAPHICS_VER(uncore->i915) >= 9) in read_clock_frequency()
163 else if (GRAPHICS_VER(uncore->i915) >= 6) in read_clock_frequency()
165 else if (GRAPHICS_VER(uncore->i915) == 5) in read_clock_frequency()
169 else if (GRAPHICS_VER(uncore->i915) == 4) in read_clock_frequency()
180 if (GRAPHICS_VER(gt->i915) == 11) in intel_gt_init_clock_frequency()
236 if (GRAPHICS_VER(gt->i915) == 6) in intel_gt_ns_to_pm_interval()
A Dintel_ring_submission.c702 if (GRAPHICS_VER(i915) == 7) in mi_set_context()
718 if (GRAPHICS_VER(i915) == 7) { in mi_set_context()
772 if (GRAPHICS_VER(i915) == 7) { in mi_set_context()
1085 if (GRAPHICS_VER(i915) >= 6) { in setup_irq()
1148 if (GRAPHICS_VER(i915) == 5) in setup_common()
1153 if (GRAPHICS_VER(i915) >= 6) in setup_common()
1181 if (GRAPHICS_VER(i915) < 4) in setup_rcs()
1198 if (GRAPHICS_VER(i915) == 6) in setup_vcs()
1203 if (GRAPHICS_VER(i915) == 6) in setup_vcs()
1209 if (GRAPHICS_VER(i915) == 5) in setup_vcs()
[all …]
A Dintel_ggtt_fencing.c182 if (GRAPHICS_VER(i915) == 2) in fence_write()
184 else if (GRAPHICS_VER(i915) == 3) in fence_write()
706 if (GRAPHICS_VER(i915) == 4 && in detect_bit_6_swizzle()
852 else if (GRAPHICS_VER(i915) >= 7 && in intel_ggtt_init_fences()
855 else if (GRAPHICS_VER(i915) >= 4 || in intel_ggtt_init_fences()
903 if (GRAPHICS_VER(i915) < 5 || in intel_gt_init_swizzling()
909 if (GRAPHICS_VER(i915) == 5) in intel_gt_init_swizzling()
914 if (GRAPHICS_VER(i915) == 6) in intel_gt_init_swizzling()
918 else if (GRAPHICS_VER(i915) == 7) in intel_gt_init_swizzling()
922 else if (GRAPHICS_VER(i915) == 8) in intel_gt_init_swizzling()
[all …]
A 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()
A Dintel_lrc.c78 if (GRAPHICS_VER(engine->i915) >= 11) in set_offsets()
101 if (GRAPHICS_VER(engine->i915) >= 11) in set_offsets()
726 else if (GRAPHICS_VER(engine->i915) >= 9) in lrc_ring_mi_mode()
740 else if (GRAPHICS_VER(engine->i915) >= 9) in lrc_ring_bb_offset()
765 if (GRAPHICS_VER(engine->i915) >= 12) in lrc_ring_wa_bb_per_ctx()
817 if (GRAPHICS_VER(engine->i915) >= 12) in lrc_ring_indirect_offset_default()
860 if (GRAPHICS_VER(engine->i915) < 11) in init_common_regs()
1083 if (GRAPHICS_VER(engine->i915) >= 12) { in __lrc_alloc_state()
1471 if (GRAPHICS_VER(ce->vm->i915) == 8) in lrc_descriptor()
1789 if (GRAPHICS_VER(engine->i915) >= 11 || in lrc_init_wa_ctx()
[all …]
A 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()
123 if (GRAPHICS_VER(i915) >= 9) { in gen6_drpc()
130 if (GRAPHICS_VER(i915) <= 7) in gen6_drpc()
137 if (GRAPHICS_VER(i915) >= 9) { in gen6_drpc()
172 if (GRAPHICS_VER(i915) >= 9) { in gen6_drpc()
188 if (GRAPHICS_VER(i915) <= 7) { in gen6_drpc()
326 else if (GRAPHICS_VER(i915) >= 6) in drpc_show()
345 if (GRAPHICS_VER(i915) == 5) { in intel_gt_pm_frequency_dump()
390 } else if (GRAPHICS_VER(i915) >= 6) { in intel_gt_pm_frequency_dump()
[all …]
A Dintel_gt.c157 } else if (GRAPHICS_VER(i915) == 2) { in init_unused_rings()
160 } else if (GRAPHICS_VER(i915) == 3) { in init_unused_rings()
230 if (GRAPHICS_VER(gt->i915) < 11) in intel_gt_perf_limit_reasons_reg()
245 if (GRAPHICS_VER(i915) != 2) in intel_gt_clear_error_registers()
248 if (GRAPHICS_VER(i915) < 4) in intel_gt_clear_error_registers()
273 } else if (GRAPHICS_VER(i915) >= 8) { in intel_gt_clear_error_registers()
350 if (GRAPHICS_VER(gt->i915) >= 12) { in gen8_check_faults()
392 else if (GRAPHICS_VER(i915) >= 8) in intel_gt_check_and_clear_faults()
394 else if (GRAPHICS_VER(i915) >= 6) in intel_gt_check_and_clear_faults()
446 if (GRAPHICS_VER(gt->i915) < 6) in intel_gt_chipset_flush()
[all …]
A Dintel_rps.c222 if (GRAPHICS_VER(gt->i915) >= 11) in rps_reset_interrupts()
799 if (GRAPHICS_VER(i915) >= 9) in gen6_rps_set()
1126 if (GRAPHICS_VER(i915) >= 10) in __gen6_rps_get_freq_caps()
1571 else if (GRAPHICS_VER(i915) >= 6 && GRAPHICS_VER(i915) <= 11) in intel_rps_enable()
1595 if (GRAPHICS_VER(i915) >= 6) in intel_rps_disable()
1634 if (GRAPHICS_VER(i915) >= 9) in intel_gpu_freq()
1651 if (GRAPHICS_VER(i915) >= 9) in intel_freq_opcode()
2058 if (GRAPHICS_VER(i915) <= 7) in intel_rps_init()
2061 if (GRAPHICS_VER(i915) >= 8 && GRAPHICS_VER(i915) < 11) in intel_rps_init()
2286 if (GRAPHICS_VER(i915) >= 9) { in rps_frequency_dump()
[all …]
A Dintel_engine_cs.c283 switch (GRAPHICS_VER(gt->i915)) { in intel_engine_context_size()
337 if (GRAPHICS_VER(gt->i915) < 8) in intel_engine_context_size()
631 if (GRAPHICS_VER(i915) >= 11 || in __setup_engine_capabilities()
640 if ((GRAPHICS_VER(i915) >= 11 && in __setup_engine_capabilities()
647 if (GRAPHICS_VER(i915) >= 9 && in __setup_engine_capabilities()
827 if (GRAPHICS_VER(i915) < 11) in engine_mask_apply_compute_fuses()
1449 if (GRAPHICS_VER(i915) >= 8) in intel_engine_get_active_head()
1451 else if (GRAPHICS_VER(i915) >= 4) in intel_engine_get_active_head()
1645 if (GRAPHICS_VER(i915) >= 8) { in intel_engine_get_instdone()
1654 if (GRAPHICS_VER(i915) >= 12) { in intel_engine_get_instdone()
[all …]
A Dintel_workarounds.c917 if (GRAPHICS_VER(i915) >= 12) in __intel_engine_init_ctx_wa()
951 else if (GRAPHICS_VER(i915) == 7) in __intel_engine_init_ctx_wa()
953 else if (GRAPHICS_VER(i915) == 6) in __intel_engine_init_ctx_wa()
955 else if (GRAPHICS_VER(i915) < 8) in __intel_engine_init_ctx_wa()
2574 if (GRAPHICS_VER(i915) == 11) { in rcs_engine_wa_init()
2692 if (GRAPHICS_VER(i915) >= 9) in rcs_engine_wa_init()
2714 if (GRAPHICS_VER(i915) == 9) { in rcs_engine_wa_init()
2818 if (GRAPHICS_VER(i915) == 7) { in rcs_engine_wa_init()
2862 if (GRAPHICS_VER(i915) == 6) { in rcs_engine_wa_init()
2923 if (GRAPHICS_VER(i915) == 4) in rcs_engine_wa_init()
[all …]
A Dselftest_engine_cs.c46 if (GRAPHICS_VER(i915) == 5 || IS_G4X(i915)) in timestamp_reg()
65 if (GRAPHICS_VER(rq->engine->i915) >= 8) in write_timestamp()
138 if (GRAPHICS_VER(gt->i915) < 4) /* Any CS_TIMESTAMP? */ in perf_mi_bb_start()
148 if (GRAPHICS_VER(engine->i915) < 7 && engine->id != RCS0) in perf_mi_bb_start()
265 if (GRAPHICS_VER(gt->i915) < 4) /* Any CS_TIMESTAMP? */ in perf_mi_noop()
275 if (GRAPHICS_VER(engine->i915) < 7 && engine->id != RCS0) in perf_mi_noop()
A Dintel_wopcm.c86 if (GRAPHICS_VER(i915) >= 11) in intel_wopcm_init_early()
98 else if (GRAPHICS_VER(i915) >= 11) in context_reserved_size()
150 if (GRAPHICS_VER(i915) == 9 && !gen9_check_dword_gap(i915, guc_wopcm_base, in check_hw_restrictions()
154 if (GRAPHICS_VER(i915) == 9 && in check_hw_restrictions()
A Dintel_gtt.c426 else if (GRAPHICS_VER(i915) >= 9 && GRAPHICS_VER(i915) <= 11) in gtt_write_workarounds()
443 GRAPHICS_VER(i915) <= 10) in gtt_write_workarounds()
554 if (GRAPHICS_VER(i915) >= 9) in bdw_setup_private_ppat()
604 GEM_BUG_ON(GRAPHICS_VER(i915) < 8); in setup_private_pat()
608 else if (GRAPHICS_VER(i915) >= 12) in setup_private_pat()
610 else if (GRAPHICS_VER(i915) >= 11) in setup_private_pat()
A Dselftest_gt_pm.c46 if (GRAPHICS_VER(i915) == 5 || IS_G4X(i915)) in read_timestamp()
91 if (GRAPHICS_VER(gt->i915) < 4) /* Any CS_TIMESTAMP? */ in live_gt_clocks()
103 if (GRAPHICS_VER(engine->i915) < 7 && engine->id != RCS0) in live_gt_clocks()
A 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()
/linux-6.3-rc2/drivers/gpu/drm/i915/soc/
A Dintel_gmch.c39 int reg = GRAPHICS_VER(i915) >= 4 ? MCHBAR_I965 : MCHBAR_I915; in intel_alloc_mchbar_resource()
44 if (GRAPHICS_VER(i915) >= 4) in intel_alloc_mchbar_resource()
71 if (GRAPHICS_VER(i915) >= 4) in intel_alloc_mchbar_resource()
83 int mchbar_reg = GRAPHICS_VER(i915) >= 4 ? MCHBAR_I965 : MCHBAR_I915; in intel_gmch_bar_setup()
121 int mchbar_reg = GRAPHICS_VER(i915) >= 4 ? MCHBAR_I965 : MCHBAR_I915; in intel_gmch_bar_teardown()
A 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()
A 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()
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Digt_spinner.c162 if (GRAPHICS_VER(rq->engine->i915) >= 8) { in igt_spinner_create_request()
166 } else if (GRAPHICS_VER(rq->engine->i915) >= 6) { in igt_spinner_create_request()
170 } else if (GRAPHICS_VER(rq->engine->i915) >= 4) { in igt_spinner_create_request()
182 if (GRAPHICS_VER(rq->engine->i915) >= 8) in igt_spinner_create_request()
186 else if (GRAPHICS_VER(rq->engine->i915) >= 6) in igt_spinner_create_request()
204 if (GRAPHICS_VER(rq->engine->i915) <= 5) in igt_spinner_create_request()
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A 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()
A 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()
A Di915_gem_stolen.c50 if (GRAPHICS_VER(i915) >= 8 && start < 4096) in i915_gem_stolen_insert_node_in_range()
100 if (GRAPHICS_VER(i915) <= 4 && in adjust_stolen()
107 if (GRAPHICS_VER(i915) == 4) in adjust_stolen()
183 if (!r && GRAPHICS_VER(i915) != 3) { in request_smem_stolen()
224 drm_WARN(&i915->drm, GRAPHICS_VER(i915) == 5, in g4x_get_stolen_reserved()
435 if (GRAPHICS_VER(i915) >= 11) { in init_reserved_stolen()
438 } else if (GRAPHICS_VER(i915) >= 8) { in init_reserved_stolen()
445 } else if (GRAPHICS_VER(i915) >= 7) { in init_reserved_stolen()
452 } else if (GRAPHICS_VER(i915) >= 6) { in init_reserved_stolen()
455 } else if (GRAPHICS_VER(i915) >= 5 || IS_G4X(i915)) { in init_reserved_stolen()
[all …]

Completed in 52 milliseconds

1234