Home
last modified time | relevance | path

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

/linux-6.6.21/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.c263 intel_uncore_write_fw(uncore, MTL_MCR_SELECTOR, in rw_with_mcr_steering_fw()
291 intel_uncore_write_fw(uncore, GEN8_MCR_SELECTOR, mcr); in rw_with_mcr_steering_fw()
301 intel_uncore_write_fw(uncore, GEN8_MCR_SELECTOR, mcr); in rw_with_mcr_steering_fw()
307 intel_uncore_write_fw(uncore, mcr_reg_cast(reg), value); in rw_with_mcr_steering_fw()
316 intel_uncore_write_fw(uncore, MTL_MCR_SELECTOR, GEN11_MCR_MULTICAST); in rw_with_mcr_steering_fw()
318 intel_uncore_write_fw(uncore, GEN8_MCR_SELECTOR, old_mcr); in rw_with_mcr_steering_fw()
436 intel_uncore_write_fw(gt->uncore, MTL_STEER_SEMAPHORE, 0x1); in intel_gt_mcr_unlock()
502 intel_uncore_write_fw(gt->uncore, MTL_MCR_SELECTOR, GEN11_MCR_MULTICAST); in intel_gt_mcr_multicast_write()
531 intel_uncore_write_fw(gt->uncore, MTL_MCR_SELECTOR, GEN11_MCR_MULTICAST); in intel_gt_mcr_multicast_write_fw()
533 intel_uncore_write_fw(gt->uncore, mcr_reg_cast(reg), value); in intel_gt_mcr_multicast_write_fw()
Dintel_tlb.c75 intel_uncore_write_fw(uncore, in mmio_invalidate_full()
91 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()
1227 intel_uncore_write_fw(uncore, GEN6_RC_VIDEO_FREQ, in gen9_rps_enable()
1230 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 0xa); in gen9_rps_enable()
1241 intel_uncore_write_fw(uncore, GEN6_RC_VIDEO_FREQ, in gen8_rps_enable()
1244 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 10); in gen8_rps_enable()
1256 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_TIMEOUT, 50000); in gen6_rps_enable()
1257 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 10); in gen6_rps_enable()
1333 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_TIMEOUT, 1000000); in chv_rps_enable()
1334 intel_uncore_write_fw(uncore, GEN6_RP_UP_THRESHOLD, 59400); in chv_rps_enable()
1335 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.c239 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset()
250 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset()
262 intel_uncore_write_fw(uncore, ILK_GDSR, 0); in ilk_do_reset()
298 intel_uncore_write_fw(uncore, GEN6_GDRST, hw_domain_mask); in gen6_hw_domain_reset()
591 intel_uncore_write_fw(uncore, reg, _MASKED_BIT_ENABLE(request)); in gen8_engine_reset_prepare()
605 intel_uncore_write_fw(engine->uncore, in gen8_engine_reset_cancel()
Dselftest_rps.c277 intel_uncore_write_fw(gt->uncore, GEN6_RP_CUR_UP_EI, 0); in live_rps_clock_interval()
280 intel_uncore_write_fw(gt->uncore, in live_rps_clock_interval()
282 intel_uncore_write_fw(gt->uncore, in live_rps_clock_interval()
285 intel_uncore_write_fw(gt->uncore, GEN6_RP_CONTROL, in live_rps_clock_interval()
321 intel_uncore_write_fw(gt->uncore, GEN6_RP_CONTROL, 0); in live_rps_clock_interval()
Dintel_ggtt.c188 intel_uncore_write_fw(uncore, GFX_FLSH_CNTL_GEN6, GFX_FLSH_CNTL_EN); in gen6_ggtt_invalidate()
219 intel_uncore_write_fw(uncore, GFX_FLSH_CNTL_GEN6, in gen8_ggtt_invalidate()
233 intel_uncore_write_fw(gt->uncore, in guc_ggtt_invalidate()
237 intel_uncore_write_fw(ggtt->vm.gt->uncore, in guc_ggtt_invalidate()
Dintel_mocs.c631 intel_uncore_write_fw(uncore, _MMIO(addr + i * 4), mocs); in __init_mocs_table()
693 intel_uncore_write_fw(gt->uncore, GEN9_LNCFCMOCS(i), l3cc); in init_l3cc_table()
Dintel_ring_submission.c112 intel_uncore_write_fw(engine->uncore, hwsp, offset); in set_hwsp()
1016 intel_uncore_write_fw(uncore, RING_PSMI_CTL(GEN6_BSD_RING_BASE), in gen6_bsd_submit_request()
1037 intel_uncore_write_fw(uncore, RING_PSMI_CTL(GEN6_BSD_RING_BASE), in gen6_bsd_submit_request()
Dintel_engine_cs.c1613 intel_uncore_write_fw(uncore, mode, _MASKED_BIT_ENABLE(STOP_RING)); in __intel_engine_stop_cs()
1622 intel_uncore_write_fw(uncore, RING_MODE_GEN7(engine->mmio_base), in __intel_engine_stop_cs()
Dintel_workarounds.c1929 intel_uncore_write_fw(uncore, wa->reg, val); in wa_list_apply()
/linux-6.6.21/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()
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()
Dvlv_sideband.c100 intel_uncore_write_fw(uncore, VLV_IOSF_ADDR, addr); in vlv_sideband_rw()
101 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw()
102 intel_uncore_write_fw(uncore, VLV_IOSF_DOORBELL_REQ, in vlv_sideband_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.c2797 intel_uncore_write_fw(uncore, GU_DEBUG, DRIVERFLR_STATUS); in driver_initiated_flr()
2821 intel_uncore_write_fw(uncore, GU_DEBUG, DRIVERFLR_STATUS); in driver_initiated_flr()
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dmmio_context.c386 intel_uncore_write_fw(uncore, reg, 0x1); in handle_tlb_pending_event()
435 intel_uncore_write_fw(uncore, offset, new_v); in switch_mocs()
453 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs()
536 intel_uncore_write_fw(uncore, mmio->reg, new_v); in switch_mmio()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c1078 intel_uncore_write_fw(uncore, DMA_ADDR_0_LOW, lower_32_bits(offset)); in uc_fw_xfer()
1079 intel_uncore_write_fw(uncore, DMA_ADDR_0_HIGH, upper_32_bits(offset)); in uc_fw_xfer()
1082 intel_uncore_write_fw(uncore, DMA_ADDR_1_LOW, dst_offset); in uc_fw_xfer()
1083 intel_uncore_write_fw(uncore, DMA_ADDR_1_HIGH, DMA_ADDRESS_SPACE_WOPCM); in uc_fw_xfer()
1089 intel_uncore_write_fw(uncore, DMA_COPY_SIZE, in uc_fw_xfer()
1093 intel_uncore_write_fw(uncore, DMA_CTRL, in uc_fw_xfer()
1104 intel_uncore_write_fw(uncore, DMA_CTRL, _MASKED_BIT_DISABLE(dma_flags)); in uc_fw_xfer()
Dintel_guc.c924 intel_uncore_write_fw(gt->uncore, GEN11_SOFT_SCRATCH(0), 0); in intel_guc_write_barrier()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_de.h111 intel_uncore_write_fw(&i915->uncore, reg, val); in intel_de_write_fw()
Di9xx_wm.c1801 intel_uncore_write_fw(uncore, DSPARB, dsparb); in vlv_atomic_update_fifo()
1802 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()
1818 intel_uncore_write_fw(uncore, DSPARB, dsparb); in vlv_atomic_update_fifo()
1819 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()
1835 intel_uncore_write_fw(uncore, DSPARB3, dsparb3); in vlv_atomic_update_fifo()
1836 intel_uncore_write_fw(uncore, DSPARB2, dsparb2); in vlv_atomic_update_fifo()