/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_uncore.h | 39 struct intel_uncore; 92 void (*force_wake_get)(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, 115 void (*mmio_writel)(struct intel_uncore *uncore, 132 struct intel_uncore { struct [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 | 74 static void mmio_debug_resume(struct intel_uncore *uncore) in mmio_debug_resume() 344 fw_domains_reset(struct intel_uncore *uncore, in fw_domains_reset() 425 struct intel_uncore *uncore = domain->uncore; in intel_uncore_fw_release_timer() 552 gen6_check_for_fifo_debug(struct intel_uncore *uncore) in gen6_check_for_fifo_debug() 567 check_for_unclaimed_mmio(struct intel_uncore *uncore) in check_for_unclaimed_mmio() 614 void intel_uncore_suspend(struct intel_uncore *uncore) in intel_uncore_suspend() 1894 ilk_dummy_write(struct intel_uncore *uncore) in ilk_dummy_write() 1903 __unclaimed_reg_debug(struct intel_uncore *uncore, in __unclaimed_reg_debug() 2447 struct intel_uncore *uncore = container_of(nb, in i915_pmic_bus_access_notifier() 2448 struct intel_uncore, pmic_bus_access_nb); in i915_pmic_bus_access_notifier() [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.h | 21 struct intel_uncore; 43 void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg); 45 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, 48 void gen3_irq_init(struct intel_uncore *uncore,
|
H A D | i915_irq.c | 145 void gen3_irq_init(struct intel_uncore *uncore, in gen3_irq_init() 664 struct intel_uncore *uncore = &dev_priv->uncore; in ibx_irq_reset() 679 struct intel_uncore *uncore = &dev_priv->uncore; in ilk_irq_reset() 712 struct intel_uncore *uncore = &dev_priv->uncore; in gen8_irq_reset() 728 struct intel_uncore *uncore = gt->uncore; in gen11_irq_reset() 741 struct intel_uncore *uncore = &dev_priv->uncore; in dg1_irq_reset() 758 struct intel_uncore *uncore = &dev_priv->uncore; in cherryview_irq_reset() 804 struct intel_uncore *uncore = gt->uncore; in gen11_irq_postinstall() 818 struct intel_uncore *uncore = &dev_priv->uncore; in dg1_irq_postinstall() 849 struct intel_uncore *uncore = &dev_priv->uncore; in i8xx_irq_reset() [all …]
|
H A D | vlv_suspend.c | 111 struct intel_uncore *uncore = &i915->uncore; in vlv_save_gunit_s0ix_state() 196 struct intel_uncore *uncore = &i915->uncore; in vlv_restore_gunit_s0ix_state() 305 struct intel_uncore *uncore = &i915->uncore; in vlv_force_gfx_clock() 329 struct intel_uncore *uncore = &i915->uncore; in vlv_allow_gt_wake() 372 struct intel_uncore *uncore = &i915->uncore; in vlv_check_no_gt_access()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_clock_utils.c | 13 static u32 read_reference_ts_freq(struct intel_uncore *uncore) in read_reference_ts_freq() 30 static u32 gen11_get_crystal_clock_freq(struct intel_uncore *uncore, in gen11_get_crystal_clock_freq() 56 static u32 gen11_read_clock_frequency(struct intel_uncore *uncore) in gen11_read_clock_frequency() 89 static u32 gen9_read_clock_frequency(struct intel_uncore *uncore) in gen9_read_clock_frequency() 111 static u32 gen6_read_clock_frequency(struct intel_uncore *uncore) in gen6_read_clock_frequency() 123 static u32 gen5_read_clock_frequency(struct intel_uncore *uncore) in gen5_read_clock_frequency() 132 static u32 g4x_read_clock_frequency(struct intel_uncore *uncore) in g4x_read_clock_frequency() 143 static u32 gen4_read_clock_frequency(struct intel_uncore *uncore) in gen4_read_clock_frequency() 157 static u32 read_clock_frequency(struct intel_uncore *uncore) in read_clock_frequency()
|
H A D | intel_rc6.c | 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() 439 struct intel_uncore *uncore = rc6_to_uncore(rc6); in bxt_check_bios_rc6_setup() 569 struct intel_uncore *uncore = rc6_to_uncore(rc6); in __intel_rc6_disable() [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 | 278 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init() 316 struct intel_uncore *uncore = in __ips_chipset_val() 388 struct intel_uncore *uncore = in __gen5_ips_update() 432 struct intel_uncore *uncore = rps_to_uncore(rps); in __gen5_rps_set() 552 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_enable() 623 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_disable() 676 struct intel_uncore *uncore = gt->uncore; in rps_set_power() 797 struct intel_uncore *uncore = rps_to_uncore(rps); in gen6_rps_set() 1223 struct intel_uncore *uncore = gt->uncore; in gen9_rps_enable() 2252 struct intel_uncore *uncore = gt->uncore; in rps_frequency_dump() [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() 574 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in detect_bit_6_swizzle() 842 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in intel_ggtt_init_fences() 902 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_swizzling()
|
H A D | intel_gtt.c | 406 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds() 471 static void xelpmp_setup_private_ppat(struct intel_uncore *uncore) in xelpmp_setup_private_ppat() 509 static void tgl_setup_private_ppat(struct intel_uncore *uncore) in tgl_setup_private_ppat() 545 static void icl_setup_private_ppat(struct intel_uncore *uncore) in icl_setup_private_ppat() 578 static void bdw_setup_private_ppat(struct intel_uncore *uncore) in bdw_setup_private_ppat() 601 static void chv_setup_private_ppat(struct intel_uncore *uncore) in chv_setup_private_ppat() 639 struct intel_uncore *uncore = gt->uncore; in setup_private_pat()
|
H A D | intel_gt_pm_debugfs.c | 70 struct intel_uncore *uncore = gt->uncore; in fw_domains_show() 89 struct intel_uncore *uncore = gt->uncore; in vlv_drpc() 115 struct intel_uncore *uncore = gt->uncore; in gen6_drpc() 203 struct intel_uncore *uncore = gt->uncore; in ilk_drpc() 262 struct intel_uncore *uncore = gt->uncore; in mtl_drpc() 339 struct intel_uncore *uncore = gt->uncore; in intel_gt_pm_frequency_dump() 512 struct intel_uncore *uncore = gt->uncore; in rps_boost_show()
|
H A D | intel_gt_types.h | 38 struct intel_uncore; 102 struct intel_uncore *uncore;
|
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_irq.c | 215 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_reset() 263 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_postinstall() 453 struct intel_uncore *uncore = gt->uncore; in gen8_gt_irq_reset() 475 struct intel_uncore *uncore = gt->uncore; in gen8_gt_irq_postinstall() 515 struct intel_uncore *uncore = gt->uncore; in gen5_gt_irq_reset() 524 struct intel_uncore *uncore = gt->uncore; in gen5_gt_irq_postinstall()
|
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()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 22 struct intel_uncore *uncore = gt->uncore; in guc_prepare_xfer() 52 struct intel_uncore *uncore) in guc_xfer_rsa_mmio() 69 struct intel_uncore *uncore) in guc_xfer_rsa_vma() 81 struct intel_uncore *uncore) in guc_xfer_rsa() 97 static inline bool guc_load_done(struct intel_uncore *uncore, u32 *status, bool *success) in guc_load_done() 156 struct intel_uncore *uncore = gt->uncore; in guc_wait_ucode() 283 struct intel_uncore *uncore = gt->uncore; in intel_guc_fw_upload()
|
H A D | intel_gsc_fw.h | 13 struct intel_uncore;
|
/openbmc/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,
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 89 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in adjust_stolen() 204 struct intel_uncore *uncore, in g4x_get_stolen_reserved() 239 struct intel_uncore *uncore, in gen6_get_stolen_reserved() 272 struct intel_uncore *uncore, in vlv_get_stolen_reserved() 301 struct intel_uncore *uncore, in gen7_get_stolen_reserved() 328 struct intel_uncore *uncore, in chv_get_stolen_reserved() 361 struct intel_uncore *uncore, in bdw_get_stolen_reserved() 381 struct intel_uncore *uncore, in icl_get_stolen_reserved() 426 struct intel_uncore *uncore = &i915->uncore; in init_reserved_stolen() 849 static int mtl_get_gms_size(struct intel_uncore *uncore) in mtl_get_gms_size() [all …]
|
/openbmc/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()
|
/openbmc/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()
|