/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_rc6.c | 70 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(uncor in gen11_rc6_enable() [all...] |
H A D | intel_gt_mcr.c | 263 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); 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(g in intel_gt_mcr_multicast_write_fw() [all...] |
H A D | intel_tlb.c | 75 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()
|
H A D | intel_rps.c | 72 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(uncor in chv_rps_enable() [all...] |
H A D | intel_ggtt_fencing.c | 104 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()
|
H A D | intel_reset.c | 239 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()
|
H A D | selftest_rps.c | 277 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | intel_sbi.c | 30 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()
|
H A D | intel_pcode.c | 71 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()
|
H A D | vlv_sideband.c | 100 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()
|
H A D | intel_uncore.h | 431 #define intel_uncore_write_fw(...) __raw_uncore_write32(__VA_ARGS__) macro 454 intel_uncore_write_fw(uncore, reg, val); in intel_uncore_rmw_fw()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | intel_sideband.c | 116 intel_uncore_write_fw(uncore, VLV_IOSF_ADDR, addr); in vlv_sideband_rw() 117 intel_uncore_write_fw(uncore, VLV_IOSF_DATA, is_read ? 0 : *val); in vlv_sideband_rw() 118 intel_uncore_write_fw(uncore, VLV_IOSF_DOORBELL_REQ, in vlv_sideband_rw() 305 intel_uncore_write_fw(uncore, SBI_ADDR, (u32)reg << 16); in intel_sbi_rw() 306 intel_uncore_write_fw(uncore, SBI_DATA, is_read ? 0 : *val); in intel_sbi_rw() 314 intel_uncore_write_fw(uncore, SBI_CTL_STAT, cmd | SBI_BUSY); in intel_sbi_rw() 415 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA, *val); in __sandybridge_pcode_rw() 416 intel_uncore_write_fw(uncore, GEN6_PCODE_DATA1, val1 ? *val1 : 0); in __sandybridge_pcode_rw() 417 intel_uncore_write_fw(uncore, in __sandybridge_pcode_rw()
|
H A D | intel_uncore.h | 382 #define intel_uncore_write_fw(...) __raw_uncore_write32(__VA_ARGS__) macro 405 intel_uncore_write_fw(uncore, reg, val); in intel_uncore_rmw_fw()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps.c | 48 intel_uncore_write_fw(uncore, reg, val); in set() 1028 intel_uncore_write_fw(uncore, GEN6_RC_VIDEO_FREQ, in gen9_rps_enable() 1031 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 0xa); in gen9_rps_enable() 1042 intel_uncore_write_fw(uncore, GEN6_RC_VIDEO_FREQ, in gen8_rps_enable() 1045 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 10); in gen8_rps_enable() 1057 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_TIMEOUT, 50000); in gen6_rps_enable() 1058 intel_uncore_write_fw(uncore, GEN6_RP_IDLE_HYSTERSIS, 10); in gen6_rps_enable() 1134 intel_uncore_write_fw(uncore, GEN6_RP_DOWN_TIMEOUT, 1000000); in chv_rps_enable() 1135 intel_uncore_write_fw(uncore, GEN6_RP_UP_THRESHOLD, 59400); in chv_rps_enable() 1136 intel_uncore_write_fw(uncor in chv_rps_enable() [all...] |
H A D | intel_ggtt_fencing.c | 116 intel_uncore_write_fw(uncore, fence_reg_lo, 0); in i965_write_fence_reg() 119 intel_uncore_write_fw(uncore, fence_reg_hi, upper_32_bits(val)); in i965_write_fence_reg() 120 intel_uncore_write_fw(uncore, fence_reg_lo, lower_32_bits(val)); in i965_write_fence_reg() 154 intel_uncore_write_fw(uncore, reg, val); in i915_write_fence_reg() 179 intel_uncore_write_fw(uncore, reg, val); in i830_write_fence_reg()
|
H A D | intel_mocs.c | 401 intel_uncore_write_fw(uncore, _MMIO(addr + i * 4), mocs); in __init_mocs_table() 459 intel_uncore_write_fw(uncore, GEN9_LNCFCMOCS(i), l3cc); in init_l3cc_table()
|
H A D | intel_ring_submission.c | 349 intel_uncore_write_fw(uncore, in reset_prepare() 354 intel_uncore_write_fw(uncore, RING_HEAD(base), 0); in reset_prepare() 355 intel_uncore_write_fw(uncore, RING_TAIL(base), 0); in reset_prepare() 359 intel_uncore_write_fw(uncore, RING_CTL(base), 0); in reset_prepare() 982 intel_uncore_write_fw(uncore, GEN6_BSD_SLEEP_PSMI_CONTROL, in gen6_bsd_submit_request() 1003 intel_uncore_write_fw(uncore, GEN6_BSD_SLEEP_PSMI_CONTROL, in gen6_bsd_submit_request()
|
H A D | intel_reset.c | 260 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset() 271 intel_uncore_write_fw(uncore, ILK_GDSR, in ilk_do_reset() 283 intel_uncore_write_fw(uncore, ILK_GDSR, 0); in ilk_do_reset() 301 intel_uncore_write_fw(uncore, GEN6_GDRST, hw_domain_mask); in gen6_hw_domain_reset() 542 intel_uncore_write_fw(uncore, reg, _MASKED_BIT_ENABLE(request)); in gen8_engine_reset_prepare() 556 intel_uncore_write_fw(engine->uncore, in gen8_engine_reset_cancel()
|
H A D | selftest_rps.c | 270 intel_uncore_write_fw(gt->uncore, GEN6_RP_CUR_UP_EI, 0); in live_rps_clock_interval() 273 intel_uncore_write_fw(gt->uncore, in live_rps_clock_interval() 275 intel_uncore_write_fw(gt->uncore, in live_rps_clock_interval() 278 intel_uncore_write_fw(gt->uncore, GEN6_RP_CONTROL, in live_rps_clock_interval() 314 intel_uncore_write_fw(gt->uncore, GEN6_RP_CONTROL, 0); in live_rps_clock_interval()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 457 intel_uncore_write_fw(uncore, DMA_ADDR_0_LOW, lower_32_bits(offset)); in uc_fw_xfer() 458 intel_uncore_write_fw(uncore, DMA_ADDR_0_HIGH, upper_32_bits(offset)); in uc_fw_xfer() 461 intel_uncore_write_fw(uncore, DMA_ADDR_1_LOW, dst_offset); in uc_fw_xfer() 462 intel_uncore_write_fw(uncore, DMA_ADDR_1_HIGH, DMA_ADDRESS_SPACE_WOPCM); in uc_fw_xfer() 468 intel_uncore_write_fw(uncore, DMA_COPY_SIZE, in uc_fw_xfer() 472 intel_uncore_write_fw(uncore, DMA_CTRL, in uc_fw_xfer() 483 intel_uncore_write_fw(uncore, DMA_CTRL, _MASKED_BIT_DISABLE(dma_flags)); in uc_fw_xfer()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | mmio_context.c | 380 intel_uncore_write_fw(uncore, reg, 0x1); in handle_tlb_pending_event() 429 intel_uncore_write_fw(uncore, offset, new_v); in switch_mocs() 447 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs() 530 intel_uncore_write_fw(uncore, mmio->reg, new_v); in switch_mmio()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | mmio_context.c | 386 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_uc_fw.c | 1078 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_de.h | 42 intel_uncore_write_fw(&i915->uncore, reg, val); in intel_de_write_fw()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_de.h | 111 intel_uncore_write_fw(&i915->uncore, reg, val); in intel_de_write_fw()
|