Home
last modified time | relevance | path

Searched refs:intel_uncore_write_fw (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_rc6.c70 intel_uncore_write_fw(uncore, GEN6_RC6_WAKE_RATE_LIMIT, 54 << 16 | 85); in gen11_rc6_enable()
71 intel_uncore_write_fw(uncore, GEN10_MEDIA_WAKE_RATE_LIMIT, 150); in gen11_rc6_enable()
73 intel_uncore_write_fw(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen11_rc6_enable()
74 intel_uncore_write_fw(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen11_rc6_enable()
76 intel_uncore_write_fw(uncore, RING_MAX_IDLE(engine->mmio_base), 10); in gen11_rc6_enable()
78 intel_uncore_write_fw(uncore, GUC_MAX_IDLE_COUNT, 0xA); in gen11_rc6_enable()
80 intel_uncore_write_fw(uncore, GEN6_RC_SLEEP, 0); in gen11_rc6_enable()
82 intel_uncore_write_fw(uncore, GEN6_RC6_THRESHOLD, 50000); /* 50/125ms per EI */ in gen11_rc6_enable()
103 intel_uncore_write_fw(uncore, GEN9_MEDIA_PG_IDLE_HYSTERESIS, 60); in gen11_rc6_enable()
104 intel_uncore_write_fw(uncore, GEN9_RENDER_PG_IDLE_HYSTERESIS, 60); in gen11_rc6_enable()
[all …]
Dintel_gt_mcr.c224 intel_uncore_write_fw(uncore, MTL_MCR_SELECTOR, in rw_with_mcr_steering_fw()
252 intel_uncore_write_fw(uncore, GEN8_MCR_SELECTOR, mcr); in rw_with_mcr_steering_fw()
262 intel_uncore_write_fw(uncore, GEN8_MCR_SELECTOR, mcr); in rw_with_mcr_steering_fw()
268 intel_uncore_write_fw(uncore, mcr_reg_cast(reg), value); in rw_with_mcr_steering_fw()
277 intel_uncore_write_fw(uncore, MTL_MCR_SELECTOR, GEN11_MCR_MULTICAST); in rw_with_mcr_steering_fw()
279 intel_uncore_write_fw(uncore, GEN8_MCR_SELECTOR, old_mcr); in rw_with_mcr_steering_fw()
396 intel_uncore_write_fw(gt->uncore, MTL_STEER_SEMAPHORE, 0x1); in intel_gt_mcr_unlock()
421 intel_uncore_write_fw(gt->uncore, MTL_STEER_SEMAPHORE, 0x1); in intel_gt_mcr_lock_sanitize()
484 intel_uncore_write_fw(gt->uncore, MTL_MCR_SELECTOR, GEN11_MCR_MULTICAST); in intel_gt_mcr_multicast_write()
513 intel_uncore_write_fw(gt->uncore, MTL_MCR_SELECTOR, GEN11_MCR_MULTICAST); in intel_gt_mcr_multicast_write_fw()
[all …]
Dintel_tlb.c76 intel_uncore_write_fw(uncore, in mmio_invalidate_full()
92 intel_uncore_write_fw(uncore, GEN12_OA_TLB_INV_CR, 1); in mmio_invalidate_full()
Dintel_rps.c72 intel_uncore_write_fw(uncore, reg, val); in set()
1228 intel_uncore_write_fw(uncore, GEN6_RC_VIDEO_FREQ, in gen9_rps_enable()
1231 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 0xa); in gen9_rps_enable()
1242 intel_uncore_write_fw(uncore, GEN6_RC_VIDEO_FREQ, in gen8_rps_enable()
1245 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 10); in gen8_rps_enable()
1257 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_TIMEOUT, 50000); in gen6_rps_enable()
1258 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 10); in gen6_rps_enable()
1334 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_TIMEOUT, 1000000); in chv_rps_enable()
1335 intel_uncore_write_fw(uncore, GEN6_RP_UP_THRESHOLD, 59400); in chv_rps_enable()
1336 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_THRESHOLD, 245000); in chv_rps_enable()
[all …]
Dintel_ggtt_fencing.c104 intel_uncore_write_fw(uncore, fence_reg_lo, 0); in i965_write_fence_reg()
107 intel_uncore_write_fw(uncore, fence_reg_hi, upper_32_bits(val)); in i965_write_fence_reg()
108 intel_uncore_write_fw(uncore, fence_reg_lo, lower_32_bits(val)); in i965_write_fence_reg()
142 intel_uncore_write_fw(uncore, reg, val); in i915_write_fence_reg()
167 intel_uncore_write_fw(uncore, reg, val); in i830_write_fence_reg()
Dintel_reset.c240 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset()
251 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset()
263 intel_uncore_write_fw(uncore, ILK_GDSR, 0); in ilk_do_reset()
299 intel_uncore_write_fw(uncore, GEN6_GDRST, hw_domain_mask); in gen6_hw_domain_reset()
592 intel_uncore_write_fw(uncore, reg, _MASKED_BIT_ENABLE(request)); in gen8_engine_reset_prepare()
606 intel_uncore_write_fw(engine->uncore, in gen8_engine_reset_cancel()
Dselftest_rps.c278 intel_uncore_write_fw(gt->uncore, GEN6_RP_CUR_UP_EI, 0); in live_rps_clock_interval()
281 intel_uncore_write_fw(gt->uncore, in live_rps_clock_interval()
283 intel_uncore_write_fw(gt->uncore, in live_rps_clock_interval()
286 intel_uncore_write_fw(gt->uncore, GEN6_RP_CONTROL, in live_rps_clock_interval()
322 intel_uncore_write_fw(gt->uncore, GEN6_RP_CONTROL, 0); in live_rps_clock_interval()
Dintel_mocs.c564 intel_uncore_write_fw(uncore, _MMIO(addr + i * 4), mocs); in __init_mocs_table()
626 intel_uncore_write_fw(gt->uncore, GEN9_LNCFCMOCS(i), l3cc); in init_l3cc_table()
Dintel_ggtt.c193 intel_uncore_write_fw(uncore, GFX_FLSH_CNTL_GEN6, GFX_FLSH_CNTL_EN); in gen6_ggtt_invalidate()
224 intel_uncore_write_fw(uncore, GFX_FLSH_CNTL_GEN6, in gen8_ggtt_invalidate()
248 intel_uncore_write_fw(gt->uncore, in guc_ggtt_invalidate()
252 intel_uncore_write_fw(gt->uncore, in guc_ggtt_invalidate()
Dintel_ring_submission.c112 intel_uncore_write_fw(engine->uncore, hwsp, offset); in set_hwsp()
1018 intel_uncore_write_fw(uncore, RING_PSMI_CTL(GEN6_BSD_RING_BASE), in gen6_bsd_submit_request()
1039 intel_uncore_write_fw(uncore, RING_PSMI_CTL(GEN6_BSD_RING_BASE), in gen6_bsd_submit_request()
Dintel_engine_cs.c1634 intel_uncore_write_fw(uncore, mode, _MASKED_BIT_ENABLE(STOP_RING)); in __intel_engine_stop_cs()
1641 intel_uncore_write_fw(uncore, RING_MODE_GEN7(engine->mmio_base), in __intel_engine_stop_cs()
Dintel_workarounds.c1756 intel_uncore_write_fw(uncore, wa->reg, val); in wa_list_apply()
/linux-6.12.1/drivers/gpu/drm/i915/
Dintel_sbi.c30 intel_uncore_write_fw(uncore, SBI_ADDR, (u32)reg << 16); in intel_sbi_rw()
31 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw()
39 intel_uncore_write_fw(uncore, SBI_CTL_STAT, cmd | SBI_BUSY); in intel_sbi_rw()
Dvlv_sideband.c99 intel_uncore_write_fw(uncore, VLV_IOSF_ADDR, addr); in vlv_sideband_rw()
100 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
101 intel_uncore_write_fw(uncore, VLV_IOSF_DOORBELL_REQ, in vlv_sideband_rw()
Dintel_pcode.c71 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA, *val); in __snb_pcode_rw()
72 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); in __snb_pcode_rw()
73 intel_uncore_write_fw(uncore, in __snb_pcode_rw()
Dintel_uncore.h431 #define intel_uncore_write_fw(...) __raw_uncore_write32(__VA_ARGS__) macro
454 intel_uncore_write_fw(uncore, reg, val); in intel_uncore_rmw_fw()
Dintel_uncore.c2648 intel_uncore_write_fw(uncore, GU_DEBUG, DRIVERFLR_STATUS); in driver_initiated_flr()
2672 intel_uncore_write_fw(uncore, GU_DEBUG, DRIVERFLR_STATUS); in driver_initiated_flr()
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dmmio_context.c394 intel_uncore_write_fw(uncore, reg, 0x1); in handle_tlb_pending_event()
443 intel_uncore_write_fw(uncore, offset, new_v); in switch_mocs()
461 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs()
544 intel_uncore_write_fw(uncore, mmio->reg, new_v); in switch_mmio()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c1100 intel_uncore_write_fw(uncore, DMA_ADDR_0_LOW, lower_32_bits(offset)); in uc_fw_xfer()
1101 intel_uncore_write_fw(uncore, DMA_ADDR_0_HIGH, upper_32_bits(offset)); in uc_fw_xfer()
1104 intel_uncore_write_fw(uncore, DMA_ADDR_1_LOW, dst_offset); in uc_fw_xfer()
1105 intel_uncore_write_fw(uncore, DMA_ADDR_1_HIGH, DMA_ADDRESS_SPACE_WOPCM); in uc_fw_xfer()
1111 intel_uncore_write_fw(uncore, DMA_COPY_SIZE, in uc_fw_xfer()
1115 intel_uncore_write_fw(uncore, DMA_CTRL, in uc_fw_xfer()
1126 intel_uncore_write_fw(uncore, DMA_CTRL, _MASKED_BIT_DISABLE(dma_flags)); in uc_fw_xfer()
Dintel_guc.c958 intel_uncore_write_fw(gt->uncore, GEN11_SOFT_SCRATCH(0), 0); in intel_guc_write_barrier()
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Dintel_uncore.h134 static inline void intel_uncore_write_fw(struct intel_uncore *uncore, in intel_uncore_write_fw() function
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_de.h217 intel_uncore_write_fw(__to_uncore(display), reg, val); in __intel_de_write_fw()
Di9xx_wm.c1805 intel_uncore_write_fw(uncore, DSPARB(dev_priv), dsparb); in vlv_atomic_update_fifo()
1806 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()
1822 intel_uncore_write_fw(uncore, DSPARB(dev_priv), dsparb); in vlv_atomic_update_fifo()
1823 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()
1839 intel_uncore_write_fw(uncore, DSPARB3, dsparb3); in vlv_atomic_update_fifo()
1840 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()