/linux-6.12.1/drivers/gpu/drm/i915/ |
D | intel_clock_gating.c | 89 intel_uncore_write(&i915->uncore, GEN9_CLKGATE_DIS_0, in bxt_init_clock_gating() 99 intel_uncore_write(&i915->uncore, RM_TIMEOUT, MMIO_TIMEOUT_US(950)); in bxt_init_clock_gating() 117 intel_uncore_write(&i915->uncore, GEN9_CLKGATE_DIS_0, in glk_init_clock_gating() 129 intel_uncore_write(&i915->uncore, SOUTH_DSPCLK_GATE_D, PCH_DPLSUNIT_CLOCK_GATE_DISABLE); in ibx_init_clock_gating() 159 intel_uncore_write(&i915->uncore, PCH_3DCGDIS0, in ilk_init_clock_gating() 162 intel_uncore_write(&i915->uncore, PCH_3DCGDIS1, in ilk_init_clock_gating() 172 intel_uncore_write(&i915->uncore, ILK_DISPLAY_CHICKEN2, in ilk_init_clock_gating() 176 intel_uncore_write(&i915->uncore, DISP_ARB_CTL, in ilk_init_clock_gating() 193 intel_uncore_write(&i915->uncore, ILK_DSPCLK_GATE_D, dspclk_gate); in ilk_init_clock_gating() 212 intel_uncore_write(&i915->uncore, SOUTH_DSPCLK_GATE_D, PCH_DPLSUNIT_CLOCK_GATE_DISABLE | in cpt_init_clock_gating() [all …]
|
D | vlv_suspend.c | 203 intel_uncore_write(uncore, GEN7_WR_WATERMARK, s->wr_watermark); in vlv_restore_gunit_s0ix_state() 204 intel_uncore_write(uncore, GEN7_GFX_PRIO_CTRL, s->gfx_prio_ctrl); in vlv_restore_gunit_s0ix_state() 205 intel_uncore_write(uncore, ARB_MODE, s->arb_mode | (0xffff << 16)); in vlv_restore_gunit_s0ix_state() 206 intel_uncore_write(uncore, GEN7_GFX_PEND_TLB0, s->gfx_pend_tlb0); in vlv_restore_gunit_s0ix_state() 207 intel_uncore_write(uncore, GEN7_GFX_PEND_TLB1, s->gfx_pend_tlb1); in vlv_restore_gunit_s0ix_state() 210 intel_uncore_write(uncore, GEN7_LRA_LIMITS(i), s->lra_limits[i]); in vlv_restore_gunit_s0ix_state() 212 intel_uncore_write(uncore, GEN7_MEDIA_MAX_REQ_COUNT, s->media_max_req_count); in vlv_restore_gunit_s0ix_state() 213 intel_uncore_write(uncore, GEN7_GFX_MAX_REQ_COUNT, s->gfx_max_req_count); in vlv_restore_gunit_s0ix_state() 215 intel_uncore_write(uncore, RENDER_HWS_PGA_GEN7, s->render_hwsp); in vlv_restore_gunit_s0ix_state() 216 intel_uncore_write(uncore, GAM_ECOCHK, s->ecochk); in vlv_restore_gunit_s0ix_state() [all …]
|
D | i915_irq.c | 83 intel_uncore_write(uncore, imr, 0xffffffff); in gen3_irq_reset() 86 intel_uncore_write(uncore, ier, 0); in gen3_irq_reset() 89 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 91 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 122 intel_uncore_write(uncore, reg, 0xffffffff); in gen3_assert_iir_is_zero() 124 intel_uncore_write(uncore, reg, 0xffffffff); in gen3_assert_iir_is_zero() 151 intel_uncore_write(uncore, ier, ier_val); in gen3_irq_init() 152 intel_uncore_write(uncore, imr, imr_val); in gen3_irq_init() 216 intel_uncore_write(&dev_priv->uncore, reg, GEN7_PARITY_ERROR_VALID | GEN7_L3CDERRST1_ENABLE); in ivb_parity_work() 239 intel_uncore_write(&dev_priv->uncore, GEN7_MISCCPCTL, misccpctl); in ivb_parity_work() [all …]
|
D | i915_perf.c | 913 intel_uncore_write(uncore, oaheadptr, in gen8_append_oa_reports() 1121 intel_uncore_write(uncore, GEN7_OASTATUS2, in gen7_append_oa_reports() 1707 intel_uncore_write(uncore, GEN7_OASTATUS2, /* head */ in gen7_init_oa_buffer() 1711 intel_uncore_write(uncore, GEN7_OABUFFER, gtt_offset); in gen7_init_oa_buffer() 1713 intel_uncore_write(uncore, GEN7_OASTATUS1, /* tail */ in gen7_init_oa_buffer() 1749 intel_uncore_write(uncore, GEN8_OASTATUS, 0); in gen8_init_oa_buffer() 1750 intel_uncore_write(uncore, GEN8_OAHEADPTR, gtt_offset); in gen8_init_oa_buffer() 1753 intel_uncore_write(uncore, GEN8_OABUFFER_UDW, 0); in gen8_init_oa_buffer() 1763 intel_uncore_write(uncore, GEN8_OABUFFER, gtt_offset | in gen8_init_oa_buffer() 1765 intel_uncore_write(uncore, GEN8_OATAILPTR, gtt_offset & GEN8_OATAILPTR_MASK); in gen8_init_oa_buffer() [all …]
|
D | intel_uncore.h | 442 intel_uncore_write(uncore, reg, val); in intel_uncore_rmw() 493 intel_uncore_write(uncore, reg, val); in intel_uncore_write_and_verify()
|
D | i915_vgpu.c | 113 intel_uncore_write(&i915->uncore, vgtif_reg(display_ready), in intel_vgpu_register()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_gt_irq.c | 218 intel_uncore_write(uncore, GEN11_RENDER_COPY_INTR_ENABLE, 0); in gen11_gt_irq_reset() 219 intel_uncore_write(uncore, GEN11_VCS_VECS_INTR_ENABLE, 0); in gen11_gt_irq_reset() 221 intel_uncore_write(uncore, GEN12_CCS_RSVD_INTR_ENABLE, 0); in gen11_gt_irq_reset() 223 intel_uncore_write(uncore, GEN11_GUNIT_CSME_INTR_ENABLE, 0); in gen11_gt_irq_reset() 226 intel_uncore_write(uncore, GEN11_RCS0_RSVD_INTR_MASK, ~0); in gen11_gt_irq_reset() 227 intel_uncore_write(uncore, GEN11_BCS_RSVD_INTR_MASK, ~0); in gen11_gt_irq_reset() 229 intel_uncore_write(uncore, XEHPC_BCS1_BCS2_INTR_MASK, ~0); in gen11_gt_irq_reset() 231 intel_uncore_write(uncore, XEHPC_BCS3_BCS4_INTR_MASK, ~0); in gen11_gt_irq_reset() 233 intel_uncore_write(uncore, XEHPC_BCS5_BCS6_INTR_MASK, ~0); in gen11_gt_irq_reset() 235 intel_uncore_write(uncore, XEHPC_BCS7_BCS8_INTR_MASK, ~0); in gen11_gt_irq_reset() [all …]
|
D | intel_gtt.c | 447 intel_uncore_write(uncore, in gtt_write_workarounds() 451 intel_uncore_write(uncore, in gtt_write_workarounds() 455 intel_uncore_write(uncore, in gtt_write_workarounds() 459 intel_uncore_write(uncore, in gtt_write_workarounds() 494 intel_uncore_write(uncore, in gtt_write_workarounds() 505 intel_uncore_write(uncore, XELPMP_PAT_INDEX(0), in xelpmp_setup_private_ppat() 507 intel_uncore_write(uncore, XELPMP_PAT_INDEX(1), in xelpmp_setup_private_ppat() 509 intel_uncore_write(uncore, XELPMP_PAT_INDEX(2), in xelpmp_setup_private_ppat() 511 intel_uncore_write(uncore, XELPMP_PAT_INDEX(3), in xelpmp_setup_private_ppat() 513 intel_uncore_write(uncore, XELPMP_PAT_INDEX(4), in xelpmp_setup_private_ppat() [all …]
|
D | intel_gt_pm_irq.c | 29 intel_uncore_write(uncore, reg, mask); in write_pm_imr() 69 intel_uncore_write(uncore, reg, reset_mask); in gen6_gt_pm_reset_iir() 70 intel_uncore_write(uncore, reg, reset_mask); in gen6_gt_pm_reset_iir() 90 intel_uncore_write(uncore, reg, mask); in write_pm_ier()
|
D | intel_rps.c | 207 intel_uncore_write(gt->uncore, in rps_enable_interrupts() 240 intel_uncore_write(gt->uncore, in rps_disable_interrupts() 490 intel_uncore_write(uncore, ECR, 0); in init_emon() 494 intel_uncore_write(uncore, SDEW, 0x15040d00); in init_emon() 495 intel_uncore_write(uncore, CSIEW0, 0x007f0000); in init_emon() 496 intel_uncore_write(uncore, CSIEW1, 0x1e220004); in init_emon() 497 intel_uncore_write(uncore, CSIEW2, 0x04000004); in init_emon() 500 intel_uncore_write(uncore, PEW(i), 0); in init_emon() 502 intel_uncore_write(uncore, DEW(i), 0); in init_emon() 522 intel_uncore_write(uncore, PXW(i), in init_emon() [all …]
|
D | intel_gt.c | 146 intel_uncore_write(uncore, RING_CTL(base), 0); in init_unused_ring() 147 intel_uncore_write(uncore, RING_HEAD(base), 0); in init_unused_ring() 148 intel_uncore_write(uncore, RING_TAIL(base), 0); in init_unused_ring() 149 intel_uncore_write(uncore, RING_START(base), 0); in init_unused_ring() 186 intel_uncore_write(uncore, in intel_gt_init_hw() 251 intel_uncore_write(uncore, PGTBL_ER, 0); in intel_gt_clear_error_registers() 254 intel_uncore_write(uncore, IPEIR(RENDER_RING_BASE), 0); in intel_gt_clear_error_registers() 256 intel_uncore_write(uncore, IPEIR_I965, 0); in intel_gt_clear_error_registers() 258 intel_uncore_write(uncore, EIR, 0); in intel_gt_clear_error_registers() 267 intel_uncore_write(uncore, GEN2_IIR, in intel_gt_clear_error_registers()
|
D | intel_engine_pm.c | 25 intel_uncore_write(engine->gt->uncore, in intel_gsc_idle_msg_enable() 29 intel_uncore_write(engine->gt->uncore, in intel_gsc_idle_msg_enable()
|
D | gen2_engine_cs.c | 313 intel_uncore_write(engine->uncore, GEN2_IMR, engine->i915->irq_mask); in gen3_irq_enable() 320 intel_uncore_write(engine->uncore, GEN2_IMR, engine->i915->irq_mask); in gen3_irq_disable()
|
D | intel_ggtt_fencing.c | 915 intel_uncore_write(uncore, in intel_gt_init_swizzling() 919 intel_uncore_write(uncore, in intel_gt_init_swizzling() 923 intel_uncore_write(uncore, in intel_gt_init_swizzling()
|
D | gen8_ppgtt.c | 105 intel_uncore_write(uncore, in gen8_ppgtt_notify_vgt() 107 intel_uncore_write(uncore, in gen8_ppgtt_notify_vgt() 117 intel_uncore_write(uncore, in gen8_ppgtt_notify_vgt() 120 intel_uncore_write(uncore, in gen8_ppgtt_notify_vgt() 131 intel_uncore_write(uncore, vgtif_reg(g2v_notify), msg); in gen8_ppgtt_notify_vgt()
|
D | gen6_ppgtt.c | 45 intel_uncore_write(uncore, GAM_ECOCHK, ecochk); in gen7_ppgtt_enable() 68 intel_uncore_write(uncore, in gen6_ppgtt_enable()
|
/linux-6.12.1/drivers/gpu/drm/xe/display/ext/ |
D | i915_irq.c | 13 intel_uncore_write(uncore, imr, 0xffffffff); in gen3_irq_reset() 16 intel_uncore_write(uncore, ier, 0); in gen3_irq_reset() 19 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 21 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset() 39 intel_uncore_write(uncore, reg, 0xffffffff); in gen3_assert_iir_is_zero() 41 intel_uncore_write(uncore, reg, 0xffffffff); in gen3_assert_iir_is_zero() 52 intel_uncore_write(uncore, ier, ier_val); in gen3_irq_init() 53 intel_uncore_write(uncore, imr, imr_val); in gen3_irq_init()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_fw.c | 34 intel_uncore_write(uncore, GUC_SHIM_CONTROL, shim_flags); in guc_prepare_xfer() 37 intel_uncore_write(uncore, GEN9LP_GT_PM_CONFIG, GT_DOORBELL_ENABLE); in guc_prepare_xfer() 39 intel_uncore_write(uncore, GEN9_GT_PM_CONFIG, GT_DOORBELL_ENABLE); in guc_prepare_xfer() 47 intel_uncore_write(uncore, GUC_ARAT_C6DIS, 0x1FF); in guc_prepare_xfer() 63 intel_uncore_write(uncore, UOS_RSA_SCRATCH(i), rsa[i]); in guc_xfer_rsa_mmio() 73 intel_uncore_write(uncore, UOS_RSA_SCRATCH(0), in guc_xfer_rsa_vma()
|
D | intel_guc.c | 52 intel_uncore_write(gt->uncore, guc->notify_reg, GUC_SEND_TRIGGER); in intel_guc_notify() 380 intel_uncore_write(uncore, SOFT_SCRATCH(0), 0); in intel_guc_write_params() 383 intel_uncore_write(uncore, SOFT_SCRATCH(1 + i), guc->params[i]); in intel_guc_write_params() 515 intel_uncore_write(uncore, guc_send_reg(guc, i), request[i]); in intel_guc_send_mmio()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_display_irq.c | 56 intel_uncore_write(&dev_priv->uncore, DEIMR, dev_priv->irq_mask); in ilk_update_display_irq() 97 intel_uncore_write(&dev_priv->uncore, GEN8_DE_PORT_IMR, new_val); in bdw_update_port_irq() 128 intel_uncore_write(&dev_priv->uncore, GEN8_DE_PIPE_IMR(pipe), in bdw_update_pipe_irq() 168 intel_uncore_write(&dev_priv->uncore, SDEIMR, sdeimr); in ibx_display_interrupt_update() 245 intel_uncore_write(&dev_priv->uncore, reg, enable_mask | status_mask); in i915_enable_pipestat() 268 intel_uncore_write(&dev_priv->uncore, reg, enable_mask | status_mask); in i915_disable_pipestat() 408 intel_uncore_write(&dev_priv->uncore, in i9xx_pipestat_irq_reset() 476 intel_uncore_write(&dev_priv->uncore, reg, pipe_stats[pipe]); in i9xx_pipestat_irq_ack() 477 intel_uncore_write(&dev_priv->uncore, reg, enable_mask); in i9xx_pipestat_irq_ack() 648 intel_uncore_write(&dev_priv->uncore, GEN7_ERR_INT, err_int); in ivb_err_int_handler() [all …]
|
D | i9xx_wm.c | 144 intel_uncore_write(&dev_priv->uncore, FW_BLC_SELF_VLV, enable ? FW_CSPWRDWNEN : 0); in _intel_set_memory_cxsr() 148 intel_uncore_write(&dev_priv->uncore, FW_BLC_SELF, enable ? FW_BLC_SELF_EN : 0); in _intel_set_memory_cxsr() 157 intel_uncore_write(&dev_priv->uncore, DSPFW3(dev_priv), val); in _intel_set_memory_cxsr() 163 intel_uncore_write(&dev_priv->uncore, FW_BLC_SELF, val); in _intel_set_memory_cxsr() 174 intel_uncore_write(&dev_priv->uncore, INSTPM, val); in _intel_set_memory_cxsr() 661 intel_uncore_write(&dev_priv->uncore, DSPFW1(dev_priv), reg); in pnv_update_wm() 689 intel_uncore_write(&dev_priv->uncore, DSPFW3(dev_priv), reg); in pnv_update_wm() 723 intel_uncore_write(&dev_priv->uncore, DSPFW1(dev_priv), in g4x_write_wm_values() 728 intel_uncore_write(&dev_priv->uncore, DSPFW2(dev_priv), in g4x_write_wm_values() 735 intel_uncore_write(&dev_priv->uncore, DSPFW3(dev_priv), in g4x_write_wm_values() [all …]
|
D | intel_hotplug_irq.c | 445 intel_uncore_write(&dev_priv->uncore, in i9xx_hpd_irq_ack() 503 intel_uncore_write(&dev_priv->uncore, PCH_PORT_HOTPLUG, dig_hotplug_reg); in ibx_hpd_irq_handler() 853 intel_uncore_write(&dev_priv->uncore, SHPD_FILTER_CNT, SHPD_FILTER_CNT_500_ADJ); in icp_hpd_irq_setup() 855 intel_uncore_write(&dev_priv->uncore, SHPD_FILTER_CNT, SHPD_FILTER_CNT_250); in icp_hpd_irq_setup() 1229 intel_uncore_write(&dev_priv->uncore, SHPD_FILTER_CNT, SHPD_FILTER_CNT_500_ADJ); in spt_hpd_irq_setup()
|
/linux-6.12.1/drivers/gpu/drm/i915/pxp/ |
D | intel_pxp_irq.c | 59 intel_uncore_write(uncore, GEN11_CRYPTO_RSVD_INTR_ENABLE, mask); in __pxp_set_interrupts() 60 intel_uncore_write(uncore, GEN11_CRYPTO_RSVD_INTR_MASK, ~mask); in __pxp_set_interrupts()
|
D | intel_pxp_session.c | 111 intel_uncore_write(gt->uncore, KCR_GLOBAL_TERMINATE(pxp->kcr_base), 1); in pxp_terminate_arb_session_and_global()
|
/linux-6.12.1/drivers/gpu/drm/i915/gvt/ |
D | aperture_gm.c | 150 intel_uncore_write(uncore, fence_reg_lo, 0); in intel_vgpu_write_fence() 153 intel_uncore_write(uncore, fence_reg_hi, upper_32_bits(value)); in intel_vgpu_write_fence() 154 intel_uncore_write(uncore, fence_reg_lo, lower_32_bits(value)); in intel_vgpu_write_fence()
|