/linux/drivers/gpu/drm/i915/ |
H A D | intel_uncore.h | 39 struct intel_uncore; 92 void (*force_wake_get)(struct intel_uncore *uncore, 97 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore, 99 enum forcewake_domains (*write_fw_domains)(struct intel_uncore *uncore, 102 u8 (*mmio_readb)(struct intel_uncore *uncore, 104 u16 (*mmio_readw)(struct intel_uncore *uncore, 106 u32 (*mmio_readl)(struct intel_uncore *uncore, 108 u64 (*mmio_readq)(struct intel_uncore *uncore, 111 void (*mmio_writeb)(struct intel_uncore *uncore, 113 void (*mmio_writew)(struct intel_uncore *uncore, [all …]
|
H A D | intel_pcode.h | 11 struct intel_uncore; 13 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1); 14 int snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, 19 int skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request, 22 int intel_pcode_init(struct intel_uncore *uncore); 27 int snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val); 28 int snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val);
|
H A D | intel_uncore.c | 40 struct intel_uncore *to_intel_uncore(struct drm_device *drm) in to_intel_uncore() 48 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get() 62 static void mmio_debug_suspend(struct intel_uncore *uncore) in mmio_debug_suspend() 78 static bool check_for_unclaimed_mmio(struct intel_uncore *uncore); 80 static void mmio_debug_resume(struct intel_uncore *uncore) in mmio_debug_resume() 299 fw_domains_get_normal(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get_normal() 318 fw_domains_get_with_fallback(struct intel_uncore *uncore, in fw_domains_get_with_fallback() 338 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_put() 352 fw_domains_reset(struct intel_uncore *uncore, in fw_domains_reset() 367 static inline u32 gt_thread_status(struct intel_uncore *uncore) in gt_thread_status() [all …]
|
H A D | intel_pcode.c | 55 static int __snb_pcode_rw(struct intel_uncore *uncore, u32 mbox, in __snb_pcode_rw() 95 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read() 112 int snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, in snb_pcode_write_timeout() 131 static bool skl_pcode_try_request(struct intel_uncore *uncore, u32 mbox, in skl_pcode_try_request() 159 int skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request, in skl_pcode_request() 207 static int pcode_init_wait(struct intel_uncore *uncore, int timeout_ms) in pcode_init_wait() 223 int intel_pcode_init(struct intel_uncore *uncore) in intel_pcode_init() 245 int snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val) in snb_pcode_read_p() 261 int snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val) in snb_pcode_write_p()
|
H A D | i915_irq.c | 80 void gen2_irq_reset(struct intel_uncore *uncore, struct i915_irq_regs regs) in gen2_irq_reset() 97 void gen2_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) in gen2_assert_iir_is_zero() 113 void gen2_irq_init(struct intel_uncore *uncore, struct i915_irq_regs regs, in gen2_irq_init() 620 struct intel_uncore *uncore = &dev_priv->uncore; in ibx_irq_reset() 635 struct intel_uncore *uncore = &dev_priv->uncore; in ilk_irq_reset() 667 struct intel_uncore *uncore = &dev_priv->uncore; in gen8_irq_reset() 683 struct intel_uncore *uncore = gt->uncore; in gen11_irq_reset() 696 struct intel_uncore *uncore = &dev_priv->uncore; in dg1_irq_reset() 715 struct intel_uncore *uncore = &dev_priv->uncore; in cherryview_irq_reset() 759 struct intel_uncore *uncore = gt->uncore; in gen11_irq_postinstall() [all …]
|
H A D | vlv_suspend.c | 112 struct intel_uncore *uncore = &i915->uncore; in vlv_save_gunit_s0ix_state() 197 struct intel_uncore *uncore = &i915->uncore; in vlv_restore_gunit_s0ix_state() 306 struct intel_uncore *uncore = &i915->uncore; in vlv_force_gfx_clock() 330 struct intel_uncore *uncore = &i915->uncore; in vlv_allow_gt_wake() 373 struct intel_uncore *uncore = &i915->uncore; in vlv_check_no_gt_access()
|
H A D | i915_perf.c | 438 struct intel_uncore *uncore = stream->uncore; in gen12_oa_hw_tail_read() 446 struct intel_uncore *uncore = stream->uncore; in gen8_oa_hw_tail_read() 453 struct intel_uncore *uncore = stream->uncore; in gen7_oa_hw_tail_read() 729 struct intel_uncore *uncore = stream->uncore; in gen8_append_oa_reports() 948 struct intel_uncore *uncore = stream->uncore; in gen8_oa_read() 1039 struct intel_uncore *uncore = stream->uncore; in gen7_append_oa_reports() 1153 struct intel_uncore *uncore = stream->uncore; in gen7_oa_read() 1698 struct intel_uncore *uncore = stream->uncore; in gen7_init_oa_buffer() 1743 struct intel_uncore *uncore = stream->uncore; in gen8_init_oa_buffer() 1796 struct intel_uncore *uncor in gen12_init_oa_buffer() [all...] |
/linux/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | intel_uncore.h | 13 static inline struct intel_uncore *to_intel_uncore(struct drm_device *drm) in to_intel_uncore() 18 static inline struct xe_mmio *__compat_uncore_to_mmio(struct intel_uncore *uncore) in __compat_uncore_to_mmio() 25 static inline struct xe_tile *__compat_uncore_to_tile(struct intel_uncore *uncore) in __compat_uncore_to_tile() 32 static inline u32 intel_uncore_read(struct intel_uncore *uncore, in intel_uncore_read() 40 static inline u8 intel_uncore_read8(struct intel_uncore *uncore, in intel_uncore_read8() 48 static inline u16 intel_uncore_read16(struct intel_uncore *uncore, in intel_uncore_read16() 57 intel_uncore_read64_2x32(struct intel_uncore *uncore, in intel_uncore_read64_2x32() 75 static inline void intel_uncore_posting_read(struct intel_uncore *uncore, in intel_uncore_posting_read() 83 static inline void intel_uncore_write(struct intel_uncore *uncore, in intel_uncore_write() 91 static inline u32 intel_uncore_rmw(struct intel_uncore *uncore, in intel_uncore_rmw() [all …]
|
H A D | intel_pcode.h | 13 snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, in snb_pcode_write_timeout() 21 snb_pcode_write(struct intel_uncore *uncore, u32 mbox, u32 val) in snb_pcode_write() 28 snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read() 34 skl_pcode_request(struct intel_uncore *uncore, u32 mbox, in skl_pcode_request()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_clock_utils.c | 14 static u32 read_reference_ts_freq(struct intel_uncore *uncore) in read_reference_ts_freq() 31 static u32 gen11_get_crystal_clock_freq(struct intel_uncore *uncore, in gen11_get_crystal_clock_freq() 57 static u32 gen11_read_clock_frequency(struct intel_uncore *uncore) in gen11_read_clock_frequency() 90 static u32 gen9_read_clock_frequency(struct intel_uncore *uncore) in gen9_read_clock_frequency() 112 static u32 gen6_read_clock_frequency(struct intel_uncore *uncore) in gen6_read_clock_frequency() 124 static u32 gen5_read_clock_frequency(struct intel_uncore *uncore) in gen5_read_clock_frequency() 133 static u32 g4x_read_clock_frequency(struct intel_uncore *uncore) in g4x_read_clock_frequency() 144 static u32 gen4_read_clock_frequency(struct intel_uncore *uncore) in gen4_read_clock_frequency() 158 static u32 read_clock_frequency(struct intel_uncore *uncore) in read_clock_frequency()
|
H A D | intel_rc6.c | 46 static struct intel_uncore *rc6_to_uncore(struct intel_rc6 *rc) in rc6_to_uncore() 59 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable() 148 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen9_rc6_enable() 218 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen8_rc6_enable() 240 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen6_rc6_enable() 294 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_init() 316 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_init() 369 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_enable() 397 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_enable() 425 struct intel_uncore *uncore = rc6_to_uncore(rc6); in intel_check_bios_c6_setup() [all …]
|
H A D | intel_gt_pm_irq.c | 16 struct intel_uncore *uncore = gt->uncore; in write_pm_imr() 64 struct intel_uncore *uncore = gt->uncore; in gen6_gt_pm_reset_iir() 77 struct intel_uncore *uncore = gt->uncore; in write_pm_ier()
|
H A D | intel_rps.c | 46 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore() 70 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() 278 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init() 317 struct intel_uncore *uncore = in __ips_chipset_val() 352 static unsigned long ips_mch_val(struct intel_uncore *uncore) in ips_mch_val() 389 struct intel_uncore *uncore = in __gen5_ips_update() 433 struct intel_uncore *uncore = rps_to_uncore(rps); in __gen5_rps_set() 484 static unsigned int init_emon(struct intel_uncore *uncore) in init_emon() 553 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_enable() 624 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_disable() [all …]
|
H A D | intel_ggtt_fencing.c | 54 static struct intel_uncore *fence_to_uncore(struct i915_fence_reg *fence) in fence_to_uncore() 92 struct intel_uncore *uncore = fence_to_uncore(fence); in i965_write_fence_reg() 139 struct intel_uncore *uncore = fence_to_uncore(fence); in i915_write_fence_reg() 164 struct intel_uncore *uncore = fence_to_uncore(fence); in i830_write_fence_reg() 204 struct intel_uncore *uncore = fence_to_uncore(fence); in fence_update() 573 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in detect_bit_6_swizzle() 841 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in intel_ggtt_init_fences() 901 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_swizzling()
|
H A D | intel_gtt.c | 438 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds() 503 static void xelpmp_setup_private_ppat(struct intel_uncore *uncore) in xelpmp_setup_private_ppat() 541 static void tgl_setup_private_ppat(struct intel_uncore *uncore) in tgl_setup_private_ppat() 577 static void icl_setup_private_ppat(struct intel_uncore *uncore) in icl_setup_private_ppat() 610 static void bdw_setup_private_ppat(struct intel_uncore *uncore) in bdw_setup_private_ppat() 633 static void chv_setup_private_ppat(struct intel_uncore *uncore) in chv_setup_private_ppat() 671 struct intel_uncore *uncore = gt->uncore; in setup_private_pat()
|
H A D | intel_region_lmem.c | 169 static bool get_legacy_lowmem_region(struct intel_uncore *uncore, in get_legacy_lowmem_region() 184 static int reserve_lowmem_region(struct intel_uncore *uncore, in reserve_lowmem_region() 204 struct intel_uncore *uncore = gt->uncore; in setup_lmem()
|
H A D | intel_gt_types.h | 38 struct intel_uncore; 102 struct intel_uncore *uncore;
|
H A D | intel_sseu_debugfs.c | 19 struct intel_uncore *uncore = gt->uncore; in cherryview_sseu_device_status() 53 struct intel_uncore *uncore = gt->uncore; in gen11_sseu_device_status() 113 struct intel_uncore *uncore = gt->uncore; in gen9_sseu_device_status()
|
H A D | intel_sseu.c | 188 xehp_load_dss_mask(struct intel_uncore *uncore, in xehp_load_dss_mask() 211 struct intel_uncore *uncore = gt->uncore; in xehp_sseu_info_init() 254 struct intel_uncore *uncore = gt->uncore; in gen12_sseu_info_init() 295 struct intel_uncore *uncore = gt->uncore; in gen11_sseu_info_init() 382 struct intel_uncore *uncore = gt->uncore; in gen9_sseu_info_init() 487 struct intel_uncore *uncore = gt->uncore; in bdw_sseu_info_init()
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | mock_uncore.c | 29 nop_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { } 36 nop_read##x(struct intel_uncore *uncore, i915_reg_t reg, bool trace) { return 0; } 42 void mock_uncore_init(struct intel_uncore *uncore, in mock_uncore_init()
|
H A D | mock_uncore.h | 29 struct intel_uncore; 31 void mock_uncore_init(struct intel_uncore *uncore,
|
/linux/drivers/gpu/drm/xe/display/ext/ |
H A D | i915_irq.c | 10 void gen2_irq_reset(struct intel_uncore *uncore, struct i915_irq_regs regs) in gen2_irq_reset() 27 void gen2_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) in gen2_assert_iir_is_zero() 44 void gen2_irq_init(struct intel_uncore *uncore, struct i915_irq_regs regs, in gen2_irq_init()
|
/linux/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp_session.c | 20 struct intel_uncore *uncore = pxp->ctrl_gt->uncore; in intel_pxp_session_is_in_play() 33 struct intel_uncore *uncore = pxp->ctrl_gt->uncore; in pxp_wait_for_session_state()
|
/linux/drivers/gpu/drm/i915/gvt/ |
H A D | aperture_gm.c | 134 struct intel_uncore *uncore = gvt->gt->uncore; in intel_vgpu_write_fence() 169 struct intel_uncore *uncore = gvt->gt->uncore; in free_vgpu_fence() 194 struct intel_uncore *uncore = gvt->gt->uncore; in alloc_vgpu_fence()
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_gsc_fw.h | 13 struct intel_uncore;
|