Home
last modified time | relevance | path

Searched refs:uncore (Results 1 - 25 of 217) sorted by relevance

123456789

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Dintel_uncore.c107 GEM_BUG_ON(d->uncore->fw_domains_timer & d->mask); in fw_domain_arm_timer()
108 d->uncore->fw_domains_timer |= d->mask; in fw_domain_arm_timer()
145 add_taint_for_CI(d->uncore->i915, TAINT_WARN); /* CI now unreliable */ in fw_domain_wait_ack_clear()
222 add_taint_for_CI(d->uncore->i915, TAINT_WARN); /* CI now unreliable */ in fw_domain_wait_ack_set()
243 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get() argument
248 GEM_BUG_ON(fw_domains & ~uncore->fw_domains); in fw_domains_get()
250 for_each_fw_domain_masked(d, fw_domains, uncore, tmp) { in fw_domains_get()
255 for_each_fw_domain_masked(d, fw_domains, uncore, tmp) in fw_domains_get()
258 uncore->fw_domains_active |= fw_domains; in fw_domains_get()
262 fw_domains_get_with_fallback(struct intel_uncore *uncore, in fw_domains_get_with_fallback() argument
282 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_put() argument
296 fw_domains_reset(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_reset() argument
311 gt_thread_status(struct intel_uncore *uncore) gt_thread_status() argument
321 __gen6_gt_wait_for_thread_c0(struct intel_uncore *uncore) __gen6_gt_wait_for_thread_c0() argument
332 fw_domains_get_with_thread_status(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_thread_status() argument
341 fifo_free_entries(struct intel_uncore *uncore) fifo_free_entries() argument
348 __gen6_gt_wait_for_fifo(struct intel_uncore *uncore) __gen6_gt_wait_for_fifo() argument
377 struct intel_uncore *uncore = domain->uncore; intel_uncore_fw_release_timer() local
400 intel_uncore_forcewake_reset(struct intel_uncore *uncore) intel_uncore_forcewake_reset() argument
460 fpga_check_for_unclaimed_mmio(struct intel_uncore *uncore) fpga_check_for_unclaimed_mmio() argument
474 vlv_check_for_unclaimed_mmio(struct intel_uncore *uncore) vlv_check_for_unclaimed_mmio() argument
488 gen6_check_for_fifo_debug(struct intel_uncore *uncore) gen6_check_for_fifo_debug() argument
503 check_for_unclaimed_mmio(struct intel_uncore *uncore) check_for_unclaimed_mmio() argument
524 forcewake_early_sanitize(struct intel_uncore *uncore, unsigned int restore_forcewake) forcewake_early_sanitize() argument
550 intel_uncore_suspend(struct intel_uncore *uncore) intel_uncore_suspend() argument
562 intel_uncore_resume_early(struct intel_uncore *uncore) intel_uncore_resume_early() argument
578 intel_uncore_runtime_resume(struct intel_uncore *uncore) intel_uncore_runtime_resume() argument
586 __intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __intel_uncore_forcewake_get() argument
618 intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get() argument
641 intel_uncore_forcewake_user_get(struct intel_uncore *uncore) intel_uncore_forcewake_user_get() argument
660 intel_uncore_forcewake_user_put(struct intel_uncore *uncore) intel_uncore_forcewake_user_put() argument
685 intel_uncore_forcewake_get__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get__locked() argument
696 __intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains, bool delayed) __intel_uncore_forcewake_put() argument
729 intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put() argument
742 intel_uncore_forcewake_put_delayed(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put_delayed() argument
760 intel_uncore_forcewake_flush(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_flush() argument
785 intel_uncore_forcewake_put__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put__locked() argument
796 assert_forcewakes_inactive(struct intel_uncore *uncore) assert_forcewakes_inactive() argument
806 assert_forcewakes_active(struct intel_uncore *uncore, enum forcewake_domains fw_domains) assert_forcewakes_active() argument
890 find_fw_domain(struct intel_uncore *uncore, u32 offset) find_fw_domain() argument
1009 gen6_reg_write_fw_domains(struct intel_uncore *uncore, i915_reg_t reg) gen6_reg_write_fw_domains() argument
1186 ilk_dummy_write(struct intel_uncore *uncore) ilk_dummy_write() argument
1195 __unclaimed_reg_debug(struct intel_uncore *uncore, const i915_reg_t reg, const bool read, const bool before) __unclaimed_reg_debug() argument
1210 unclaimed_reg_debug(struct intel_uncore *uncore, const i915_reg_t reg, const bool read, const bool before) unclaimed_reg_debug() argument
1296 ___force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) ___force_wake_auto() argument
1310 __force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __force_wake_auto() argument
1484 __fw_domain_init(struct intel_uncore *uncore, enum forcewake_domain_id domain_id, i915_reg_t reg_set, i915_reg_t reg_ack) __fw_domain_init() argument
1535 fw_domain_fini(struct intel_uncore *uncore, enum forcewake_domain_id domain_id) fw_domain_fini() argument
1552 intel_uncore_fw_domains_fini(struct intel_uncore *uncore) intel_uncore_fw_domains_fini() argument
1561 intel_uncore_fw_domains_init(struct intel_uncore *uncore) intel_uncore_fw_domains_init() argument
1699 struct intel_uncore *uncore = container_of(nb, i915_pmic_bus_access_notifier() local
1729 uncore_mmio_setup(struct intel_uncore *uncore) uncore_mmio_setup() argument
1758 uncore_mmio_cleanup(struct intel_uncore *uncore) uncore_mmio_cleanup() argument
1765 intel_uncore_init_early(struct intel_uncore *uncore, struct drm_i915_private *i915) intel_uncore_init_early() argument
1774 uncore_raw_init(struct intel_uncore *uncore) uncore_raw_init() argument
1790 uncore_forcewake_init(struct intel_uncore *uncore) uncore_forcewake_init() argument
1840 intel_uncore_init_mmio(struct intel_uncore *uncore) intel_uncore_init_mmio() argument
1892 intel_uncore_prune_engine_fw_domains(struct intel_uncore *uncore, struct intel_gt *gt) intel_uncore_prune_engine_fw_domains() argument
1923 intel_uncore_fini_mmio(struct intel_uncore *uncore) intel_uncore_fini_mmio() argument
1953 struct intel_uncore *uncore = &i915->uncore; i915_reg_read_ioctl() local
2031 __intel_wait_for_register_fw(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int fast_timeout_us, unsigned int slow_timeout_ms, u32 *out_value) __intel_wait_for_register_fw() argument
2080 __intel_wait_for_register(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int fast_timeout_us, unsigned int slow_timeout_ms, u32 *out_value) __intel_wait_for_register() argument
2120 intel_uncore_unclaimed_mmio(struct intel_uncore *uncore) intel_uncore_unclaimed_mmio() argument
2132 intel_uncore_arm_unclaimed_mmio_detection(struct intel_uncore *uncore) intel_uncore_arm_unclaimed_mmio_detection() argument
2174 intel_uncore_forcewake_for_reg(struct intel_uncore *uncore, i915_reg_t reg, unsigned int op) intel_uncore_forcewake_for_reg() argument
[all...]
H A Dvlv_suspend.c108 struct intel_uncore *uncore = &i915->uncore; in vlv_save_gunit_s0ix_state() local
115 s->wr_watermark = intel_uncore_read(uncore, GEN7_WR_WATERMARK); in vlv_save_gunit_s0ix_state()
116 s->gfx_prio_ctrl = intel_uncore_read(uncore, GEN7_GFX_PRIO_CTRL); in vlv_save_gunit_s0ix_state()
117 s->arb_mode = intel_uncore_read(uncore, ARB_MODE); in vlv_save_gunit_s0ix_state()
118 s->gfx_pend_tlb0 = intel_uncore_read(uncore, GEN7_GFX_PEND_TLB0); in vlv_save_gunit_s0ix_state()
119 s->gfx_pend_tlb1 = intel_uncore_read(uncore, GEN7_GFX_PEND_TLB1); in vlv_save_gunit_s0ix_state()
122 s->lra_limits[i] = intel_uncore_read(uncore, GEN7_LRA_LIMITS(i)); in vlv_save_gunit_s0ix_state()
124 s->media_max_req_count = intel_uncore_read(uncore, GEN7_MEDIA_MAX_REQ_COUNT); in vlv_save_gunit_s0ix_state()
125 s->gfx_max_req_count = intel_uncore_read(uncore, GEN7_GFX_MAX_REQ_COUN in vlv_save_gunit_s0ix_state()
193 struct intel_uncore *uncore = &i915->uncore; vlv_restore_gunit_s0ix_state() local
307 struct intel_uncore *uncore = &i915->uncore; vlv_force_gfx_clock() local
335 struct intel_uncore *uncore = &i915->uncore; vlv_allow_gt_wake() local
381 struct intel_uncore *uncore = &i915->uncore; vlv_check_no_gt_access() local
[all...]
H A Dintel_uncore.h76 void (*force_wake_get)(struct intel_uncore *uncore,
78 void (*force_wake_put)(struct intel_uncore *uncore,
81 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore,
83 enum forcewake_domains (*write_fw_domains)(struct intel_uncore *uncore,
86 u8 (*mmio_readb)(struct intel_uncore *uncore,
88 u16 (*mmio_readw)(struct intel_uncore *uncore,
90 u32 (*mmio_readl)(struct intel_uncore *uncore,
92 u64 (*mmio_readq)(struct intel_uncore *uncore,
95 void (*mmio_writeb)(struct intel_uncore *uncore,
97 void (*mmio_writew)(struct intel_uncore *uncore,
138 struct intel_uncore *uncore; global() member
162 intel_uncore_has_forcewake(const struct intel_uncore *uncore) intel_uncore_has_forcewake() argument
168 intel_uncore_has_fpga_dbg_unclaimed(const struct intel_uncore *uncore) intel_uncore_has_fpga_dbg_unclaimed() argument
174 intel_uncore_has_dbg_unclaimed(const struct intel_uncore *uncore) intel_uncore_has_dbg_unclaimed() argument
180 intel_uncore_has_fifo(const struct intel_uncore *uncore) intel_uncore_has_fifo() argument
239 intel_wait_for_register(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout_ms) intel_wait_for_register() argument
257 intel_wait_for_register_fw(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout_ms) intel_wait_for_register_fw() argument
336 intel_uncore_read64_2x32(struct intel_uncore *uncore, i915_reg_t lower_reg, i915_reg_t upper_reg) intel_uncore_read64_2x32() argument
386 intel_uncore_rmw(struct intel_uncore *uncore, i915_reg_t reg, u32 clear, u32 set) intel_uncore_rmw() argument
397 intel_uncore_rmw_fw(struct intel_uncore *uncore, i915_reg_t reg, u32 clear, u32 set) intel_uncore_rmw_fw() argument
408 intel_uncore_write_and_verify(struct intel_uncore *uncore, i915_reg_t reg, u32 val, u32 mask, u32 expected_val) intel_uncore_write_and_verify() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Dintel_uncore.c42 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get() argument
44 uncore->fw_get_funcs->force_wake_get(uncore, fw_domains); in fw_domains_get()
53 i915->uncore.debug = &i915->mmio_debug; in intel_uncore_mmio_debug_init_early()
56 static void mmio_debug_suspend(struct intel_uncore *uncore) in mmio_debug_suspend() argument
58 if (!uncore->debug) in mmio_debug_suspend()
61 spin_lock(&uncore->debug->lock); in mmio_debug_suspend()
64 if (!uncore->debug->suspend_count++) { in mmio_debug_suspend()
65 uncore->debug->saved_mmio_check = uncore in mmio_debug_suspend()
74 mmio_debug_resume(struct intel_uncore *uncore) mmio_debug_resume() argument
291 fw_domains_get_normal(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_normal() argument
310 fw_domains_get_with_fallback(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_fallback() argument
330 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_put() argument
344 fw_domains_reset(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_reset() argument
359 gt_thread_status(struct intel_uncore *uncore) gt_thread_status() argument
369 __gen6_gt_wait_for_thread_c0(struct intel_uncore *uncore) __gen6_gt_wait_for_thread_c0() argument
380 fw_domains_get_with_thread_status(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_thread_status() argument
389 fifo_free_entries(struct intel_uncore *uncore) fifo_free_entries() argument
396 __gen6_gt_wait_for_fifo(struct intel_uncore *uncore) __gen6_gt_wait_for_fifo() argument
425 struct intel_uncore *uncore = domain->uncore; intel_uncore_fw_release_timer() local
448 intel_uncore_forcewake_reset(struct intel_uncore *uncore) intel_uncore_forcewake_reset() argument
508 fpga_check_for_unclaimed_mmio(struct intel_uncore *uncore) fpga_check_for_unclaimed_mmio() argument
538 vlv_check_for_unclaimed_mmio(struct intel_uncore *uncore) vlv_check_for_unclaimed_mmio() argument
552 gen6_check_for_fifo_debug(struct intel_uncore *uncore) gen6_check_for_fifo_debug() argument
567 check_for_unclaimed_mmio(struct intel_uncore *uncore) check_for_unclaimed_mmio() argument
588 forcewake_early_sanitize(struct intel_uncore *uncore, unsigned int restore_forcewake) forcewake_early_sanitize() argument
614 intel_uncore_suspend(struct intel_uncore *uncore) intel_uncore_suspend() argument
626 intel_uncore_resume_early(struct intel_uncore *uncore) intel_uncore_resume_early() argument
642 intel_uncore_runtime_resume(struct intel_uncore *uncore) intel_uncore_runtime_resume() argument
650 __intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __intel_uncore_forcewake_get() argument
682 intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get() argument
705 intel_uncore_forcewake_user_get(struct intel_uncore *uncore) intel_uncore_forcewake_user_get() argument
722 intel_uncore_forcewake_user_put(struct intel_uncore *uncore) intel_uncore_forcewake_user_put() argument
740 intel_uncore_forcewake_get__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get__locked() argument
751 __intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains, bool delayed) __intel_uncore_forcewake_put() argument
784 intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put() argument
797 intel_uncore_forcewake_put_delayed(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put_delayed() argument
815 intel_uncore_forcewake_flush(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_flush() argument
840 intel_uncore_forcewake_put__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put__locked() argument
851 assert_forcewakes_inactive(struct intel_uncore *uncore) assert_forcewakes_inactive() argument
861 assert_forcewakes_active(struct intel_uncore *uncore, enum forcewake_domains fw_domains) assert_forcewakes_active() argument
941 find_fw_domain(struct intel_uncore *uncore, u32 offset) find_fw_domain() argument
1197 is_shadowed(struct intel_uncore *uncore, u32 offset) is_shadowed() argument
1212 gen6_reg_write_fw_domains(struct intel_uncore *uncore, i915_reg_t reg) gen6_reg_write_fw_domains() argument
1894 ilk_dummy_write(struct intel_uncore *uncore) ilk_dummy_write() argument
1903 __unclaimed_reg_debug(struct intel_uncore *uncore, const i915_reg_t reg, const bool read) __unclaimed_reg_debug() argument
1917 __unclaimed_previous_reg_debug(struct intel_uncore *uncore, const i915_reg_t reg, const bool read) __unclaimed_previous_reg_debug() argument
1929 unclaimed_reg_debug_header(struct intel_uncore *uncore, const i915_reg_t reg, const bool read) unclaimed_reg_debug_header() argument
1945 unclaimed_reg_debug_footer(struct intel_uncore *uncore, const i915_reg_t reg, const bool read) unclaimed_reg_debug_footer() argument
2023 ___force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) ___force_wake_auto() argument
2037 __force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __force_wake_auto() argument
2064 fwtable_reg_read_fw_domains(struct intel_uncore *uncore, i915_reg_t reg) fwtable_reg_read_fw_domains() argument
2153 fwtable_reg_write_fw_domains(struct intel_uncore *uncore, i915_reg_t reg) fwtable_reg_write_fw_domains() argument
2203 __fw_domain_init(struct intel_uncore *uncore, enum forcewake_domain_id domain_id, i915_reg_t reg_set, i915_reg_t reg_ack) __fw_domain_init() argument
2261 fw_domain_fini(struct intel_uncore *uncore, enum forcewake_domain_id domain_id) fw_domain_fini() argument
2278 intel_uncore_fw_domains_fini(struct intel_uncore *uncore) intel_uncore_fw_domains_fini() argument
2299 intel_uncore_fw_domains_init(struct intel_uncore *uncore) intel_uncore_fw_domains_init() argument
2447 struct intel_uncore *uncore = container_of(nb, i915_pmic_bus_access_notifier() local
2482 intel_uncore_setup_mmio(struct intel_uncore *uncore, phys_addr_t phys_addr) intel_uncore_setup_mmio() argument
2514 intel_uncore_init_early(struct intel_uncore *uncore, struct intel_gt *gt) intel_uncore_init_early() argument
2523 uncore_raw_init(struct intel_uncore *uncore) uncore_raw_init() argument
2539 uncore_media_forcewake_init(struct intel_uncore *uncore) uncore_media_forcewake_init() argument
2555 uncore_forcewake_init(struct intel_uncore *uncore) uncore_forcewake_init() argument
2622 sanity_check_mmio_access(struct intel_uncore *uncore) sanity_check_mmio_access() argument
2652 intel_uncore_init_mmio(struct intel_uncore *uncore) intel_uncore_init_mmio() argument
2710 intel_uncore_prune_engine_fw_domains(struct intel_uncore *uncore, struct intel_gt *gt) intel_uncore_prune_engine_fw_domains() argument
2773 driver_initiated_flr(struct intel_uncore *uncore) driver_initiated_flr() argument
2827 struct intel_uncore *uncore = data; intel_uncore_fini_mmio() local
2868 __intel_wait_for_register_fw(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int fast_timeout_us, unsigned int slow_timeout_ms, u32 *out_value) __intel_wait_for_register_fw() argument
2917 __intel_wait_for_register(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int fast_timeout_us, unsigned int slow_timeout_ms, u32 *out_value) __intel_wait_for_register() argument
2957 intel_uncore_unclaimed_mmio(struct intel_uncore *uncore) intel_uncore_unclaimed_mmio() argument
2972 intel_uncore_arm_unclaimed_mmio_detection(struct intel_uncore *uncore) intel_uncore_arm_unclaimed_mmio_detection() argument
3017 intel_uncore_forcewake_for_reg(struct intel_uncore *uncore, i915_reg_t reg, unsigned int op) intel_uncore_forcewake_for_reg() argument
[all...]
H A Dvlv_suspend.c111 struct intel_uncore *uncore = &i915->uncore; in vlv_save_gunit_s0ix_state() local
118 s->wr_watermark = intel_uncore_read(uncore, GEN7_WR_WATERMARK); in vlv_save_gunit_s0ix_state()
119 s->gfx_prio_ctrl = intel_uncore_read(uncore, GEN7_GFX_PRIO_CTRL); in vlv_save_gunit_s0ix_state()
120 s->arb_mode = intel_uncore_read(uncore, ARB_MODE); in vlv_save_gunit_s0ix_state()
121 s->gfx_pend_tlb0 = intel_uncore_read(uncore, GEN7_GFX_PEND_TLB0); in vlv_save_gunit_s0ix_state()
122 s->gfx_pend_tlb1 = intel_uncore_read(uncore, GEN7_GFX_PEND_TLB1); in vlv_save_gunit_s0ix_state()
125 s->lra_limits[i] = intel_uncore_read(uncore, GEN7_LRA_LIMITS(i)); in vlv_save_gunit_s0ix_state()
127 s->media_max_req_count = intel_uncore_read(uncore, GEN7_MEDIA_MAX_REQ_COUNT); in vlv_save_gunit_s0ix_state()
128 s->gfx_max_req_count = intel_uncore_read(uncore, GEN7_GFX_MAX_REQ_COUN in vlv_save_gunit_s0ix_state()
196 struct intel_uncore *uncore = &i915->uncore; vlv_restore_gunit_s0ix_state() local
305 struct intel_uncore *uncore = &i915->uncore; vlv_force_gfx_clock() local
329 struct intel_uncore *uncore = &i915->uncore; vlv_allow_gt_wake() local
372 struct intel_uncore *uncore = &i915->uncore; vlv_check_no_gt_access() local
[all...]
H A Dintel_clock_gating.c58 intel_uncore_rmw(&i915->uncore, CHICKEN_PAR1_1, 0, SKL_DE_COMPRESSED_HASH_MODE); in gen9_init_clock_gating()
62 intel_uncore_rmw(&i915->uncore, CHICKEN_PAR1_1, 0, SKL_EDP_PSR_FIX_RDWRAP); in gen9_init_clock_gating()
65 intel_uncore_rmw(&i915->uncore, GEN8_CHICKEN_DCPR_1, 0, MASK_WAKEMEM); in gen9_init_clock_gating()
71 intel_uncore_rmw(&i915->uncore, DISP_ARB_CTL, 0, DISP_FBC_MEMORY_WAKE); in gen9_init_clock_gating()
79 intel_uncore_rmw(&i915->uncore, GEN8_UCGCTL6, 0, GEN8_SDEUNIT_CLOCK_GATE_DISABLE); in bxt_init_clock_gating()
85 intel_uncore_rmw(&i915->uncore, GEN8_UCGCTL6, 0, GEN8_HDCUNIT_CLOCK_GATE_DISABLE_HDCREQ); in bxt_init_clock_gating()
91 intel_uncore_write(&i915->uncore, GEN9_CLKGATE_DIS_0, in bxt_init_clock_gating()
92 intel_uncore_read(&i915->uncore, GEN9_CLKGATE_DIS_0) | in bxt_init_clock_gating()
101 intel_uncore_write(&i915->uncore, RM_TIMEOUT, MMIO_TIMEOUT_US(950)); in bxt_init_clock_gating()
107 intel_uncore_rmw(&i915->uncore, DISP_ARB_CT in bxt_init_clock_gating()
712 struct intel_uncore *uncore = &i915->uncore; i965gm_init_clock_gating() local
[all...]
H A Dintel_uncore.h92 void (*force_wake_get)(struct intel_uncore *uncore,
97 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore,
99 enum forcewake_domains (*write_fw_domains)(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,
180 struct intel_uncore *uncore; global() member
204 intel_uncore_has_forcewake(const struct intel_uncore *uncore) intel_uncore_has_forcewake() argument
210 intel_uncore_has_fpga_dbg_unclaimed(const struct intel_uncore *uncore) intel_uncore_has_fpga_dbg_unclaimed() argument
216 intel_uncore_has_dbg_unclaimed(const struct intel_uncore *uncore) intel_uncore_has_dbg_unclaimed() argument
222 intel_uncore_has_fifo(const struct intel_uncore *uncore) intel_uncore_has_fifo() argument
228 intel_uncore_needs_flr_on_fini(const struct intel_uncore *uncore) intel_uncore_needs_flr_on_fini() argument
234 intel_uncore_set_flr_on_fini(struct intel_uncore *uncore) intel_uncore_set_flr_on_fini() argument
294 intel_wait_for_register(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout_ms) intel_wait_for_register() argument
312 intel_wait_for_register_fw(struct intel_uncore *uncore, i915_reg_t reg, u32 mask, u32 value, unsigned int timeout_ms) intel_wait_for_register_fw() argument
435 intel_uncore_rmw(struct intel_uncore *uncore, i915_reg_t reg, u32 clear, u32 set) intel_uncore_rmw() argument
446 intel_uncore_rmw_fw(struct intel_uncore *uncore, i915_reg_t reg, u32 clear, u32 set) intel_uncore_rmw_fw() argument
458 intel_uncore_read64_2x32(struct intel_uncore *uncore, i915_reg_t lower_reg, i915_reg_t upper_reg) intel_uncore_read64_2x32() argument
487 intel_uncore_write_and_verify(struct intel_uncore *uncore, i915_reg_t reg, u32 val, u32 mask, u32 expected_val) intel_uncore_write_and_verify() argument
499 intel_uncore_regs(struct intel_uncore *uncore) intel_uncore_regs() argument
[all...]
H A Dintel_pcode.c55 static int __snb_pcode_rw(struct intel_uncore *uncore, u32 mbox, in __snb_pcode_rw() argument
60 lockdep_assert_held(&uncore->i915->sb_lock); in __snb_pcode_rw()
68 if (intel_uncore_read_fw(uncore, GEN6_PCODE_MAILBOX) & GEN6_PCODE_READY) in __snb_pcode_rw()
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()
76 if (__intel_wait_for_register_fw(uncore, in __snb_pcode_rw()
85 *val = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA); in __snb_pcode_rw()
87 *val1 = intel_uncore_read_fw(uncore, GEN6_PCODE_DATA1); in __snb_pcode_rw()
89 if (GRAPHICS_VER(uncore in __snb_pcode_rw()
95 snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) snb_pcode_read() argument
112 snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, int fast_timeout_us, int slow_timeout_ms) snb_pcode_write_timeout() argument
131 skl_pcode_try_request(struct intel_uncore *uncore, u32 mbox, u32 request, u32 reply_mask, u32 reply, u32 *status) skl_pcode_try_request() argument
159 skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request, u32 reply_mask, u32 reply, int timeout_base_ms) skl_pcode_request() argument
207 pcode_init_wait(struct intel_uncore *uncore, int timeout_ms) pcode_init_wait() argument
223 intel_pcode_init(struct intel_uncore *uncore) intel_pcode_init() argument
245 snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val) snb_pcode_read_p() argument
261 snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val) snb_pcode_write_p() argument
[all...]
H A Di915_irq.c81 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, in gen3_irq_reset() argument
84 intel_uncore_write(uncore, imr, 0xffffffff); in gen3_irq_reset()
85 intel_uncore_posting_read(uncore, imr); in gen3_irq_reset()
87 intel_uncore_write(uncore, ier, 0); in gen3_irq_reset()
90 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset()
91 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset()
92 intel_uncore_write(uncore, iir, 0xffffffff); in gen3_irq_reset()
93 intel_uncore_posting_read(uncore, iir); in gen3_irq_reset()
96 static void gen2_irq_reset(struct intel_uncore *uncore) in gen2_irq_reset() argument
98 intel_uncore_write16(uncore, GEN2_IM in gen2_irq_reset()
113 gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) gen3_assert_iir_is_zero() argument
129 gen2_assert_iir_is_zero(struct intel_uncore *uncore) gen2_assert_iir_is_zero() argument
145 gen3_irq_init(struct intel_uncore *uncore, i915_reg_t imr, u32 imr_val, i915_reg_t ier, u32 ier_val, i915_reg_t iir) gen3_irq_init() argument
157 gen2_irq_init(struct intel_uncore *uncore, u32 imr_val, u32 ier_val) gen2_irq_init() argument
664 struct intel_uncore *uncore = &dev_priv->uncore; ibx_irq_reset() local
679 struct intel_uncore *uncore = &dev_priv->uncore; ilk_irq_reset() local
712 struct intel_uncore *uncore = &dev_priv->uncore; gen8_irq_reset() local
728 struct intel_uncore *uncore = gt->uncore; gen11_irq_reset() local
741 struct intel_uncore *uncore = &dev_priv->uncore; dg1_irq_reset() local
758 struct intel_uncore *uncore = &dev_priv->uncore; cherryview_irq_reset() local
804 struct intel_uncore *uncore = gt->uncore; gen11_irq_postinstall() local
818 struct intel_uncore *uncore = &dev_priv->uncore; dg1_irq_postinstall() local
849 struct intel_uncore *uncore = &dev_priv->uncore; i8xx_irq_reset() local
880 struct intel_uncore *uncore = &dev_priv->uncore; i8xx_irq_postinstall() local
910 struct intel_uncore *uncore = &i915->uncore; i8xx_error_irq_ack() local
1037 struct intel_uncore *uncore = &dev_priv->uncore; i915_irq_reset() local
1052 struct intel_uncore *uncore = &dev_priv->uncore; i915_irq_postinstall() local
1147 struct intel_uncore *uncore = &dev_priv->uncore; i965_irq_reset() local
1179 struct intel_uncore *uncore = &dev_priv->uncore; i965_irq_postinstall() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_rc6.c48 return rc6_to_gt(rc)->uncore; in rc6_to_uncore()
59 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable() local
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_SLEE in gen11_rc6_enable()
150 struct intel_uncore *uncore = rc6_to_uncore(rc6); gen9_rc6_enable() local
220 struct intel_uncore *uncore = rc6_to_uncore(rc6); gen8_rc6_enable() local
242 struct intel_uncore *uncore = rc6_to_uncore(rc6); gen6_rc6_enable() local
296 struct intel_uncore *uncore = rc6_to_uncore(rc6); chv_rc6_init() local
318 struct intel_uncore *uncore = rc6_to_uncore(rc6); vlv_rc6_init() local
371 struct intel_uncore *uncore = rc6_to_uncore(rc6); chv_rc6_enable() local
399 struct intel_uncore *uncore = rc6_to_uncore(rc6); vlv_rc6_enable() local
427 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_check_bios_c6_setup() local
441 struct intel_uncore *uncore = rc6_to_uncore(rc6); bxt_check_bios_rc6_setup() local
571 struct intel_uncore *uncore = rc6_to_uncore(rc6); __intel_rc6_disable() local
648 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_enable() local
686 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_unpark() local
697 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_park() local
737 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_fini() local
753 vlv_residency_raw(struct intel_uncore *uncore, const i915_reg_t reg) vlv_residency_raw() argument
801 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_residency_ns() local
[all...]
H A Dintel_gt_clock_utils.c13 static u32 read_reference_ts_freq(struct intel_uncore *uncore) in read_reference_ts_freq() argument
15 u32 ts_override = intel_uncore_read(uncore, GEN9_TIMESTAMP_OVERRIDE); in read_reference_ts_freq()
30 static u32 gen11_get_crystal_clock_freq(struct intel_uncore *uncore, in gen11_get_crystal_clock_freq() argument
56 static u32 gen11_read_clock_frequency(struct intel_uncore *uncore) in gen11_read_clock_frequency() argument
58 u32 ctc_reg = intel_uncore_read(uncore, CTC_MODE); in gen11_read_clock_frequency()
71 freq = read_reference_ts_freq(uncore); in gen11_read_clock_frequency()
73 u32 c0 = intel_uncore_read(uncore, RPM_CONFIG0); in gen11_read_clock_frequency()
75 freq = gen11_get_crystal_clock_freq(uncore, c0); in gen11_read_clock_frequency()
89 static u32 gen9_read_clock_frequency(struct intel_uncore *uncore) in gen9_read_clock_frequency() argument
91 u32 ctc_reg = intel_uncore_read(uncore, CTC_MOD in gen9_read_clock_frequency()
111 gen6_read_clock_frequency(struct intel_uncore *uncore) gen6_read_clock_frequency() argument
123 gen5_read_clock_frequency(struct intel_uncore *uncore) gen5_read_clock_frequency() argument
132 g4x_read_clock_frequency(struct intel_uncore *uncore) g4x_read_clock_frequency() argument
143 gen4_read_clock_frequency(struct intel_uncore *uncore) gen4_read_clock_frequency() argument
157 read_clock_frequency(struct intel_uncore *uncore) read_clock_frequency() argument
[all...]
H A Dintel_gt_irq.c34 void __iomem * const regs = intel_uncore_regs(gt->uncore); in gen11_gt_engine_identity()
151 void __iomem * const regs = intel_uncore_regs(gt->uncore); in gen11_gt_bank_handler()
186 void __iomem * const regs = intel_uncore_regs(gt->uncore); in gen11_gt_reset_one_iir()
215 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_reset() local
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_MAS in gen11_gt_irq_reset()
263 struct intel_uncore *uncore = gt->uncore; gen11_gt_irq_postinstall() local
453 struct intel_uncore *uncore = gt->uncore; gen8_gt_irq_reset() local
475 struct intel_uncore *uncore = gt->uncore; gen8_gt_irq_postinstall() local
515 struct intel_uncore *uncore = gt->uncore; gen5_gt_irq_reset() local
524 struct intel_uncore *uncore = gt->uncore; gen5_gt_irq_postinstall() local
[all...]
H A Dintel_gtt.c406 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds() local
415 intel_uncore_write(uncore, in gtt_write_workarounds()
419 intel_uncore_write(uncore, in gtt_write_workarounds()
423 intel_uncore_write(uncore, in gtt_write_workarounds()
427 intel_uncore_write(uncore, in gtt_write_workarounds()
444 intel_uncore_rmw(uncore, in gtt_write_workarounds()
462 intel_uncore_write(uncore, in gtt_write_workarounds()
466 intel_uncore_read(uncore, in gtt_write_workarounds()
471 static void xelpmp_setup_private_ppat(struct intel_uncore *uncore) in xelpmp_setup_private_ppat() argument
509 tgl_setup_private_ppat(struct intel_uncore *uncore) tgl_setup_private_ppat() argument
545 icl_setup_private_ppat(struct intel_uncore *uncore) icl_setup_private_ppat() argument
578 bdw_setup_private_ppat(struct intel_uncore *uncore) bdw_setup_private_ppat() argument
601 chv_setup_private_ppat(struct intel_uncore *uncore) chv_setup_private_ppat() argument
639 struct intel_uncore *uncore = gt->uncore; setup_private_pat() local
[all...]
H A Dintel_rps.c48 return rps_to_gt(rps)->uncore; in rps_to_uncore()
70 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() argument
72 intel_uncore_write_fw(uncore, reg, val); in set()
207 intel_uncore_write(gt->uncore, in rps_enable_interrupts()
240 intel_uncore_write(gt->uncore, in rps_disable_interrupts()
278 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init() local
298 rgvmodectl = intel_uncore_read(uncore, MEMMODECTL); in gen5_rps_init()
316 struct intel_uncore *uncore = in __ips_chipset_val() local
335 total = intel_uncore_read(uncore, DMIEC); in __ips_chipset_val()
336 total += intel_uncore_read(uncore, DDRE in __ips_chipset_val()
351 ips_mch_val(struct intel_uncore *uncore) ips_mch_val() argument
388 struct intel_uncore *uncore = __gen5_ips_update() local
432 struct intel_uncore *uncore = rps_to_uncore(rps); __gen5_rps_set() local
483 init_emon(struct intel_uncore *uncore) init_emon() argument
552 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_enable() local
623 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_disable() local
676 struct intel_uncore *uncore = gt->uncore; rps_set_power() local
797 struct intel_uncore *uncore = rps_to_uncore(rps); gen6_rps_set() local
1071 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_set() local
1087 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_read_state_cap() local
1102 struct intel_uncore *uncore = rps_to_uncore(rps); mtl_get_freq_caps() local
1223 struct intel_uncore *uncore = gt->uncore; gen9_rps_enable() local
1239 struct intel_uncore *uncore = rps_to_uncore(rps); gen8_rps_enable() local
1253 struct intel_uncore *uncore = rps_to_uncore(rps); gen6_rps_enable() local
1328 struct intel_uncore *uncore = rps_to_uncore(rps); chv_rps_enable() local
1432 struct intel_uncore *uncore = rps_to_uncore(rps); vlv_rps_enable() local
1479 struct intel_uncore *uncore = rps_to_uncore(rps); __ips_gfx_val() local
1530 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_enable() local
1756 vlv_c0_read(struct intel_uncore *uncore, struct intel_rps_ei *ei) vlv_c0_read() argument
1765 struct intel_uncore *uncore = rps_to_uncore(rps); vlv_wa_c0_ei() local
1942 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_irq_handler() local
2098 struct intel_uncore *uncore = rps_to_uncore(rps); __read_cagf() local
2150 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_read_punit_req() local
2252 struct intel_uncore *uncore = gt->uncore; rps_frequency_dump() local
2414 struct intel_uncore *uncore = gt->uncore; slpc_frequency_dump() local
2635 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_set_manual() local
2644 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_raise_unslice() local
2669 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_lower_unslice() local
[all...]
H A Dintel_sa_media.c16 struct intel_uncore *uncore; in intel_sa_mediagt_setup() local
18 uncore = drmm_kzalloc(&i915->drm, sizeof(*uncore), GFP_KERNEL); in intel_sa_mediagt_setup()
19 if (!uncore) in intel_sa_mediagt_setup()
22 uncore->gsi_offset = gsi_offset; in intel_sa_mediagt_setup()
26 intel_uncore_init_early(uncore, gt); in intel_sa_mediagt_setup()
32 uncore->regs = intel_uncore_regs(&i915->uncore); in intel_sa_mediagt_setup()
33 if (drm_WARN_ON(&i915->drm, uncore->regs == NULL)) in intel_sa_mediagt_setup()
36 gt->uncore in intel_sa_mediagt_setup()
[all...]
H A Dintel_gt_pm_debugfs.c32 intel_uncore_forcewake_user_get(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_open()
38 intel_uncore_forcewake_user_put(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_release()
70 struct intel_uncore *uncore = gt->uncore; in fw_domains_show() local
75 uncore->user_forcewake_count); in fw_domains_show()
77 for_each_fw_domain(fw_domain, uncore, tmp) in fw_domains_show()
89 struct intel_uncore *uncore = gt->uncore; in vlv_drpc() local
92 mt_fwake_req = intel_uncore_read_fw(uncore, FORCEWAKE_MT); in vlv_drpc()
93 pw_status = intel_uncore_read(uncore, VLV_GTLC_PW_STATU in vlv_drpc()
115 struct intel_uncore *uncore = gt->uncore; gen6_drpc() local
203 struct intel_uncore *uncore = gt->uncore; ilk_drpc() local
262 struct intel_uncore *uncore = gt->uncore; mtl_drpc() local
339 struct intel_uncore *uncore = gt->uncore; intel_gt_pm_frequency_dump() local
512 struct intel_uncore *uncore = gt->uncore; rps_boost_show() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_rc6.c44 return rc6_to_gt(rc)->uncore; in rc6_to_uncore()
52 static inline void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() argument
54 intel_uncore_write_fw(uncore, reg, val); in set()
60 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable() local
67 set(uncore, GEN6_RC6_WAKE_RATE_LIMIT, 54 << 16 | 85); in gen11_rc6_enable()
68 set(uncore, GEN10_MEDIA_WAKE_RATE_LIMIT, 150); in gen11_rc6_enable()
70 set(uncore, GEN6_RC_EVALUATION_INTERVAL, 125000); /* 12500 * 1280ns */ in gen11_rc6_enable()
71 set(uncore, GEN6_RC_IDLE_HYSTERSIS, 25); /* 25 * 1280ns */ in gen11_rc6_enable()
73 set(uncore, RING_MAX_IDL in gen11_rc6_enable()
125 struct intel_uncore *uncore = rc6_to_uncore(rc6); gen9_rc6_enable() local
196 struct intel_uncore *uncore = rc6_to_uncore(rc6); gen8_rc6_enable() local
218 struct intel_uncore *uncore = rc6_to_uncore(rc6); gen6_rc6_enable() local
273 struct intel_uncore *uncore = rc6_to_uncore(rc6); chv_rc6_init() local
295 struct intel_uncore *uncore = rc6_to_uncore(rc6); vlv_rc6_init() local
347 struct intel_uncore *uncore = rc6_to_uncore(rc6); chv_rc6_enable() local
375 struct intel_uncore *uncore = rc6_to_uncore(rc6); vlv_rc6_enable() local
402 struct intel_uncore *uncore = rc6_to_uncore(rc6); bxt_check_bios_rc6_setup() local
517 struct intel_uncore *uncore = rc6_to_uncore(rc6); __intel_rc6_disable() local
567 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_enable() local
605 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_unpark() local
616 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_park() local
667 vlv_residency_raw(struct intel_uncore *uncore, const i915_reg_t reg) vlv_residency_raw() argument
715 struct intel_uncore *uncore = rc6_to_uncore(rc6); intel_rc6_residency_ns() local
[all...]
H A Ddebugfs_gt_pm.c24 struct intel_uncore *uncore = gt->uncore; in fw_domains_show() local
29 uncore->user_forcewake_count); in fw_domains_show()
31 for_each_fw_domain(fw_domain, uncore, tmp) in fw_domains_show()
47 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in print_rc6_res()
49 intel_uncore_read(gt->uncore, reg), in print_rc6_res()
56 struct intel_uncore *uncore = gt->uncore; in vlv_drpc() local
59 pw_status = intel_uncore_read(uncore, VLV_GTLC_PW_STATUS); in vlv_drpc()
60 rcctl1 = intel_uncore_read(uncore, GEN6_RC_CONTRO in vlv_drpc()
80 struct intel_uncore *uncore = gt->uncore; gen6_drpc() local
167 struct intel_uncore *uncore = gt->uncore; ilk_drpc() local
246 struct intel_uncore *uncore = gt->uncore; frequency_show() local
581 struct intel_uncore *uncore = gt->uncore; rps_boost_show() local
[all...]
H A Dintel_gtt.c239 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds() local
248 intel_uncore_write(uncore, in gtt_write_workarounds()
252 intel_uncore_write(uncore, in gtt_write_workarounds()
256 intel_uncore_write(uncore, in gtt_write_workarounds()
260 intel_uncore_write(uncore, in gtt_write_workarounds()
277 intel_uncore_rmw(uncore, in gtt_write_workarounds()
295 intel_uncore_write(uncore, in gtt_write_workarounds()
299 intel_uncore_read(uncore, in gtt_write_workarounds()
304 static void tgl_setup_private_ppat(struct intel_uncore *uncore) in tgl_setup_private_ppat() argument
317 cnl_setup_private_ppat(struct intel_uncore *uncore) cnl_setup_private_ppat() argument
350 bdw_setup_private_ppat(struct intel_uncore *uncore) bdw_setup_private_ppat() argument
367 chv_setup_private_ppat(struct intel_uncore *uncore) chv_setup_private_ppat() argument
403 setup_private_pat(struct intel_uncore *uncore) setup_private_pat() argument
[all...]
H A Dintel_gt_irq.c69 void __iomem * const regs = gt->uncore->regs; in gen11_gt_engine_identity()
154 void __iomem * const regs = gt->uncore->regs; in gen11_gt_bank_handler()
189 void __iomem * const regs = gt->uncore->regs; in gen11_gt_reset_one_iir()
218 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_reset() local
221 intel_uncore_write(uncore, GEN11_RENDER_COPY_INTR_ENABLE, 0); in gen11_gt_irq_reset()
222 intel_uncore_write(uncore, GEN11_VCS_VECS_INTR_ENABLE, 0); in gen11_gt_irq_reset()
225 intel_uncore_write(uncore, GEN11_RCS0_RSVD_INTR_MASK, ~0); in gen11_gt_irq_reset()
226 intel_uncore_write(uncore, GEN11_BCS_RSVD_INTR_MASK, ~0); in gen11_gt_irq_reset()
227 intel_uncore_write(uncore, GEN11_VCS0_VCS1_INTR_MAS in gen11_gt_irq_reset()
244 struct intel_uncore *uncore = gt->uncore; gen11_gt_irq_postinstall() local
367 struct intel_uncore *uncore = gt->uncore; gen8_gt_irq_reset() local
389 struct intel_uncore *uncore = gt->uncore; gen8_gt_irq_postinstall() local
429 struct intel_uncore *uncore = gt->uncore; gen5_gt_irq_reset() local
438 struct intel_uncore *uncore = gt->uncore; gen5_gt_irq_postinstall() local
[all...]
H A Dintel_gt.c25 gt->uncore = &i915->uncore; in intel_gt_init_early()
59 struct intel_uncore *uncore = gt->uncore; in init_unused_ring() local
61 intel_uncore_write(uncore, RING_CTL(base), 0); in init_unused_ring()
62 intel_uncore_write(uncore, RING_HEAD(base), 0); in init_unused_ring()
63 intel_uncore_write(uncore, RING_TAIL(base), 0); in init_unused_ring()
64 intel_uncore_write(uncore, RING_START(base), 0); in init_unused_ring()
89 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_hw() local
141 rmw_set(struct intel_uncore *uncore, i915_reg_t reg, u32 set) rmw_set() argument
146 rmw_clear(struct intel_uncore *uncore, i915_reg_t reg, u32 clr) rmw_clear() argument
151 clear_register(struct intel_uncore *uncore, i915_reg_t reg) clear_register() argument
167 struct intel_uncore *uncore = gt->uncore; intel_gt_clear_error_registers() local
231 struct intel_uncore *uncore = gt->uncore; gen8_check_faults() local
287 struct intel_uncore *uncore = gt->uncore; intel_gt_flush_ggtt_writes() local
709 struct intel_uncore *uncore = gt->uncore; intel_gt_invalidate_tlbs() local
[all...]
H A Dintel_rps.c38 return rps_to_gt(rps)->uncore; in rps_to_uncore()
46 static inline void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() argument
48 intel_uncore_write_fw(uncore, reg, val); in set()
180 intel_uncore_write(gt->uncore, in rps_enable_interrupts()
213 intel_uncore_write(gt->uncore, in rps_disable_interrupts()
251 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init() local
271 rgvmodectl = intel_uncore_read(uncore, MEMMODECTL); in gen5_rps_init()
289 struct intel_uncore *uncore = in __ips_chipset_val() local
308 total = intel_uncore_read(uncore, DMIEC); in __ips_chipset_val()
309 total += intel_uncore_read(uncore, DDRE in __ips_chipset_val()
324 ips_mch_val(struct intel_uncore *uncore) ips_mch_val() argument
361 struct intel_uncore *uncore = __gen5_ips_update() local
395 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_set() local
435 init_emon(struct intel_uncore *uncore) init_emon() argument
503 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_enable() local
569 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_disable() local
625 struct intel_uncore *uncore = gt->uncore; rps_set_power() local
746 struct intel_uncore *uncore = rps_to_uncore(rps); gen6_rps_set() local
938 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_set() local
954 struct intel_uncore *uncore = rps_to_uncore(rps); gen6_rps_init() local
1024 struct intel_uncore *uncore = gt->uncore; gen9_rps_enable() local
1040 struct intel_uncore *uncore = rps_to_uncore(rps); gen8_rps_enable() local
1054 struct intel_uncore *uncore = rps_to_uncore(rps); gen6_rps_enable() local
1129 struct intel_uncore *uncore = rps_to_uncore(rps); chv_rps_enable() local
1232 struct intel_uncore *uncore = rps_to_uncore(rps); vlv_rps_enable() local
1278 struct intel_uncore *uncore = rps_to_uncore(rps); __ips_gfx_val() local
1329 struct intel_uncore *uncore = rps_to_uncore(rps); intel_rps_enable() local
1572 vlv_c0_read(struct intel_uncore *uncore, struct intel_rps_ei *ei) vlv_c0_read() argument
1581 struct intel_uncore *uncore = rps_to_uncore(rps); vlv_wa_c0_ei() local
1757 struct intel_uncore *uncore = rps_to_uncore(rps); gen5_rps_irq_handler() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_fw.c16 static void guc_prepare_xfer(struct intel_uncore *uncore) in guc_prepare_xfer() argument
26 intel_uncore_write(uncore, GUC_SHIM_CONTROL, shim_flags); in guc_prepare_xfer()
28 if (IS_GEN9_LP(uncore->i915)) in guc_prepare_xfer()
29 intel_uncore_write(uncore, GEN9LP_GT_PM_CONFIG, GT_DOORBELL_ENABLE); in guc_prepare_xfer()
31 intel_uncore_write(uncore, GEN9_GT_PM_CONFIG, GT_DOORBELL_ENABLE); in guc_prepare_xfer()
33 if (IS_GEN(uncore->i915, 9)) { in guc_prepare_xfer()
35 intel_uncore_rmw(uncore, GEN7_MISCCPCTL, in guc_prepare_xfer()
39 intel_uncore_write(uncore, GUC_ARAT_C6DIS, 0x1FF); in guc_prepare_xfer()
45 struct intel_uncore *uncore) in guc_xfer_rsa()
55 intel_uncore_write(uncore, UOS_RSA_SCRATC in guc_xfer_rsa()
44 guc_xfer_rsa(struct intel_uc_fw *guc_fw, struct intel_uncore *uncore) guc_xfer_rsa() argument
67 guc_ready(struct intel_uncore *uncore, u32 *status) guc_ready() argument
77 guc_wait_ucode(struct intel_uncore *uncore) guc_wait_ucode() argument
122 struct intel_uncore *uncore = gt->uncore; intel_guc_fw_upload() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_fw.c22 struct intel_uncore *uncore = gt->uncore; in guc_prepare_xfer() local
29 if (GRAPHICS_VER_FULL(uncore->i915) < IP_VER(12, 50)) in guc_prepare_xfer()
34 intel_uncore_write(uncore, GUC_SHIM_CONTROL, shim_flags); in guc_prepare_xfer()
36 if (IS_GEN9_LP(uncore->i915)) 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()
41 if (GRAPHICS_VER(uncore->i915) == 9) { in guc_prepare_xfer()
43 intel_uncore_rmw(uncore, GEN7_MISCCPCTL, 0, in guc_prepare_xfer()
47 intel_uncore_write(uncore, GUC_ARAT_C6DI in guc_prepare_xfer()
51 guc_xfer_rsa_mmio(struct intel_uc_fw *guc_fw, struct intel_uncore *uncore) guc_xfer_rsa_mmio() argument
68 guc_xfer_rsa_vma(struct intel_uc_fw *guc_fw, struct intel_uncore *uncore) guc_xfer_rsa_vma() argument
80 guc_xfer_rsa(struct intel_uc_fw *guc_fw, struct intel_uncore *uncore) guc_xfer_rsa() argument
97 guc_load_done(struct intel_uncore *uncore, u32 *status, bool *success) guc_load_done() argument
156 struct intel_uncore *uncore = gt->uncore; guc_wait_ucode() local
283 struct intel_uncore *uncore = gt->uncore; intel_guc_fw_upload() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Dintel_uncore.c145 struct intel_uncore *uncore = gt->uncore; in live_forcewake_ops() local
181 wakeref = intel_runtime_pm_get(uncore->rpm); in live_forcewake_ops()
183 for_each_fw_domain(domain, uncore, tmp) { in live_forcewake_ops()
193 u32 __iomem *reg = uncore->regs + engine->mmio_base + r->offset; in live_forcewake_ops()
200 fw_domains = intel_uncore_forcewake_for_reg(uncore, mmio, in live_forcewake_ops()
205 for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { in live_forcewake_ops()
215 intel_uncore_forcewake_get(uncore, fw_domains); in live_forcewake_ops()
217 intel_uncore_forcewake_put(uncore, fw_domains); in live_forcewake_ops()
220 for_each_fw_domain_masked(domain, fw_domains, uncore, tm in live_forcewake_ops()
260 struct intel_uncore *uncore = gt->uncore; live_forcewake_domains() local
[all...]

Completed in 19 milliseconds

123456789