/drivers/gpu/drm/i915/ |
D | intel_sideband.c | 48 static void __vlv_punit_get(struct drm_i915_private *i915) in __vlv_punit_get() 68 static void __vlv_punit_put(struct drm_i915_private *i915) in __vlv_punit_put() 77 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_get() 85 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_put() 93 static int vlv_sideband_rw(struct drm_i915_private *i915, in vlv_sideband_rw() 143 u32 vlv_punit_read(struct drm_i915_private *i915, u32 addr) in vlv_punit_read() 153 int vlv_punit_write(struct drm_i915_private *i915, u32 addr, u32 val) in vlv_punit_write() 159 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg) in vlv_bunit_read() 169 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_bunit_write() 175 u32 vlv_nc_read(struct drm_i915_private *i915, u8 addr) in vlv_nc_read() [all …]
|
D | intel_sideband.h | 34 static inline void vlv_bunit_get(struct drm_i915_private *i915) in vlv_bunit_get() 42 static inline void vlv_bunit_put(struct drm_i915_private *i915) in vlv_bunit_put() 47 static inline void vlv_cck_get(struct drm_i915_private *i915) in vlv_cck_get() 55 static inline void vlv_cck_put(struct drm_i915_private *i915) in vlv_cck_put() 60 static inline void vlv_ccu_get(struct drm_i915_private *i915) in vlv_ccu_get() 68 static inline void vlv_ccu_put(struct drm_i915_private *i915) in vlv_ccu_put() 73 static inline void vlv_dpio_get(struct drm_i915_private *i915) in vlv_dpio_get() 82 static inline void vlv_dpio_put(struct drm_i915_private *i915) in vlv_dpio_put() 87 static inline void vlv_flisdsi_get(struct drm_i915_private *i915) in vlv_flisdsi_get() 95 static inline void vlv_flisdsi_put(struct drm_i915_private *i915) in vlv_flisdsi_put() [all …]
|
D | i915_pmu.c | 84 struct drm_i915_private *i915 = container_of(pmu, typeof(*i915), pmu); in pmu_needs_timer() local 123 struct drm_i915_private *i915 = gt->i915; in __get_rc6() local 149 struct drm_i915_private *i915 = gt->i915; in get_rc6() local 189 struct drm_i915_private *i915 = container_of(pmu, typeof(*i915), pmu); in init_rc6() local 200 static void park_rc6(struct drm_i915_private *i915) in park_rc6() 216 static void park_rc6(struct drm_i915_private *i915) {} in park_rc6() 231 void i915_pmu_gt_parked(struct drm_i915_private *i915) in i915_pmu_gt_parked() 251 void i915_pmu_gt_unparked(struct drm_i915_private *i915) in i915_pmu_gt_unparked() 274 static bool exclusive_mmio_access(const struct drm_i915_private *i915) in exclusive_mmio_access() 322 struct drm_i915_private *i915 = gt->i915; in engines_sample() local [all …]
|
D | i915_drv.c | 286 static void sanitize_gpu(struct drm_i915_private *i915) in sanitize_gpu() 459 static int i915_set_dma_info(struct drm_i915_private *i915) in i915_set_dma_info() 783 struct drm_i915_private *i915; in i915_driver_create() local 821 struct drm_i915_private *i915; in i915_driver_probe() local 929 void i915_driver_remove(struct drm_i915_private *i915) in i915_driver_remove() 986 struct drm_i915_private *i915 = to_i915(dev); in i915_driver_open() local 1049 struct drm_i915_private *i915 = to_i915(dev); in i915_drm_prepare() local 1169 int i915_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state) in i915_suspend_switcheroo() 1329 int i915_resume_switcheroo(struct drm_i915_private *i915) in i915_resume_switcheroo() 1345 struct drm_i915_private *i915 = kdev_to_i915(kdev); in i915_pm_prepare() local [all …]
|
D | intel_dram.c | 119 skl_dram_get_dimm_info(struct drm_i915_private *i915, in skl_dram_get_dimm_info() 140 skl_dram_get_channel_info(struct drm_i915_private *i915, in skl_dram_get_channel_info() 180 skl_dram_get_channels_info(struct drm_i915_private *i915) in skl_dram_get_channels_info() 230 skl_get_dram_type(struct drm_i915_private *i915) in skl_get_dram_type() 253 skl_get_dram_info(struct drm_i915_private *i915) in skl_get_dram_info() 363 static int bxt_get_dram_info(struct drm_i915_private *i915) in bxt_get_dram_info() 494 static int gen11_get_dram_info(struct drm_i915_private *i915) in gen11_get_dram_info() 504 static int gen12_get_dram_info(struct drm_i915_private *i915) in gen12_get_dram_info() 512 void intel_dram_detect(struct drm_i915_private *i915) in intel_dram_detect() 545 static u32 gen9_edram_size_mb(struct drm_i915_private *i915, u32 cap) in gen9_edram_size_mb() [all …]
|
D | intel_wopcm.c | 79 struct drm_i915_private *i915 = wopcm_to_i915(wopcm); in intel_wopcm_init_early() local 92 static u32 context_reserved_size(struct drm_i915_private *i915) in context_reserved_size() 102 static bool gen9_check_dword_gap(struct drm_i915_private *i915, in gen9_check_dword_gap() 125 static bool gen9_check_huc_fw_fits(struct drm_i915_private *i915, in gen9_check_huc_fw_fits() 144 static bool check_hw_restrictions(struct drm_i915_private *i915, in check_hw_restrictions() 159 static bool __check_layout(struct drm_i915_private *i915, u32 wopcm_size, in __check_layout() 222 struct drm_i915_private *i915 = wopcm_to_i915(wopcm); in intel_wopcm_init() local
|
D | i915_switcheroo.c | 14 struct drm_i915_private *i915 = pdev_to_i915(pdev); in i915_switcheroo_set_state() local 39 struct drm_i915_private *i915 = pdev_to_i915(pdev); in i915_switcheroo_can_switch() local 55 int i915_switcheroo_register(struct drm_i915_private *i915) in i915_switcheroo_register() 62 void i915_switcheroo_unregister(struct drm_i915_private *i915) in i915_switcheroo_unregister()
|
D | i915_debugfs.c | 59 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_capabilities() local 300 struct drm_i915_private *i915) in print_context_stats() 363 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_gem_object_info() local 660 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_gem_fence_regs_info() local 722 struct drm_i915_private *i915 = inode->i_private; in i915_gpu_info_open() local 1064 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_context_status() local 1334 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_shrinker_info() local 1344 struct drm_i915_private *i915 = node_to_i915(m->private); in i915_wa_registers() local 1373 struct drm_i915_private *i915 = data; in i915_wedged_get() local 1391 struct drm_i915_private *i915 = data; in i915_wedged_set() local [all …]
|
/drivers/gpu/drm/i915/display/ |
D | intel_tc.c | 29 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in tc_cold_get_power_domain() local 40 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in tc_cold_block() local 53 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in tc_cold_unblock() local 71 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in assert_tc_cold_blocked() local 84 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_get_lane_mask() local 100 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_get_pin_assignment_mask() local 116 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_fia_max_lane_count() local 149 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_set_fia_lane_count() local 188 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in tc_port_fixup_legacy_flag() local 210 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in tc_port_live_status_mask() local [all …]
|
D | intel_de.h | 14 intel_de_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read() 20 intel_de_posting_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_posting_read() 27 intel_de_read_fw(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read_fw() 33 intel_de_write(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write() 40 intel_de_write_fw(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write_fw() 46 intel_de_rmw(struct drm_i915_private *i915, i915_reg_t reg, u32 clear, u32 set) in intel_de_rmw() 52 intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_register() 59 intel_de_wait_for_set(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_set() 66 intel_de_wait_for_clear(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_clear()
|
D | intel_vga.c | 15 static i915_reg_t intel_vga_cntrl_reg(struct drm_i915_private *i915) in intel_vga_cntrl_reg() 55 void intel_vga_redisable(struct drm_i915_private *i915) in intel_vga_redisable() 77 void intel_vga_reset_io_mem(struct drm_i915_private *i915) in intel_vga_reset_io_mem() 97 intel_vga_set_state(struct drm_i915_private *i915, bool enable_decode) in intel_vga_set_state() 126 struct drm_i915_private *i915 = cookie; in intel_vga_set_decode() local 137 int intel_vga_register(struct drm_i915_private *i915) in intel_vga_register() 157 void intel_vga_unregister(struct drm_i915_private *i915) in intel_vga_unregister()
|
D | intel_frontbuffer.c | 78 static void frontbuffer_flush(struct drm_i915_private *i915, in frontbuffer_flush() 108 void intel_frontbuffer_flip_prepare(struct drm_i915_private *i915, in intel_frontbuffer_flip_prepare() 128 void intel_frontbuffer_flip_complete(struct drm_i915_private *i915, in intel_frontbuffer_flip_complete() 152 void intel_frontbuffer_flip(struct drm_i915_private *i915, in intel_frontbuffer_flip() 167 struct drm_i915_private *i915 = to_i915(front->obj->base.dev); in __intel_fb_invalidate() local 186 struct drm_i915_private *i915 = to_i915(front->obj->base.dev); in __intel_fb_flush() local 244 struct drm_i915_private *i915 = to_i915(obj->base.dev); in intel_frontbuffer_get() local
|
D | intel_quirks.c | 14 static void quirk_ssc_force_disable(struct drm_i915_private *i915) in quirk_ssc_force_disable() 24 static void quirk_invert_brightness(struct drm_i915_private *i915) in quirk_invert_brightness() 31 static void quirk_backlight_present(struct drm_i915_private *i915) in quirk_backlight_present() 40 static void quirk_increase_t12_delay(struct drm_i915_private *i915) in quirk_increase_t12_delay() 50 static void quirk_increase_ddi_disabled_time(struct drm_i915_private *i915) in quirk_increase_ddi_disabled_time() 166 void intel_init_quirks(struct drm_i915_private *i915) in intel_init_quirks()
|
D | intel_dp_hdcp.c | 35 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_write_an_aksv() local 70 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_bksv() local 86 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_bstatus() local 108 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_bcaps() local 141 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_ri_prime() local 158 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_ksv_ready() local 177 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_ksv_fifo() local 202 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_read_v_prime_part() local 232 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp_check_link() local 315 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_dp_hdcp2_read_rx_status() local [all …]
|
D | intel_dp_aux_backlight.c | 30 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in set_aux_backlight_enable() local 58 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in intel_dp_aux_backlight_dpcd_mode() local 81 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in intel_dp_aux_get_backlight() local 114 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in intel_dp_aux_set_backlight() local 181 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in intel_dp_aux_enable_backlight() local 241 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_dp_aux_calc_max_backlight() local 340 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in intel_dp_aux_display_control_capable() local 358 struct drm_i915_private *i915 = dp_to_i915(intel_dp); in intel_dp_aux_init_backlight_funcs() local
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 30 int i915_gem_stolen_insert_node_in_range(struct drm_i915_private *i915, in i915_gem_stolen_insert_node_in_range() 52 int i915_gem_stolen_insert_node(struct drm_i915_private *i915, in i915_gem_stolen_insert_node() 62 void i915_gem_stolen_remove_node(struct drm_i915_private *i915, in i915_gem_stolen_remove_node() 70 static int i915_adjust_stolen(struct drm_i915_private *i915, in i915_adjust_stolen() 162 static void i915_gem_cleanup_stolen(struct drm_i915_private *i915) in i915_gem_cleanup_stolen() 170 static void g4x_get_stolen_reserved(struct drm_i915_private *i915, in g4x_get_stolen_reserved() 205 static void gen6_get_stolen_reserved(struct drm_i915_private *i915, in gen6_get_stolen_reserved() 238 static void vlv_get_stolen_reserved(struct drm_i915_private *i915, in vlv_get_stolen_reserved() 267 static void gen7_get_stolen_reserved(struct drm_i915_private *i915, in gen7_get_stolen_reserved() 294 static void chv_get_stolen_reserved(struct drm_i915_private *i915, in chv_get_stolen_reserved() [all …]
|
D | i915_gem_shrinker.c | 96 i915_gem_shrink(struct drm_i915_private *i915, in i915_gem_shrink() 243 unsigned long i915_gem_shrink_all(struct drm_i915_private *i915) in i915_gem_shrink_all() 260 struct drm_i915_private *i915 = in i915_gem_shrinker_count() local 289 struct drm_i915_private *i915 = in i915_gem_shrinker_scan() local 320 struct drm_i915_private *i915 = in i915_gem_shrinker_oom() local 360 struct drm_i915_private *i915 = in i915_gem_shrinker_vmap() local 390 void i915_gem_driver_register__shrinker(struct drm_i915_private *i915) in i915_gem_driver_register__shrinker() 406 void i915_gem_driver_unregister__shrinker(struct drm_i915_private *i915) in i915_gem_driver_unregister__shrinker() 415 void i915_gem_shrinker_taints_mutex(struct drm_i915_private *i915, in i915_gem_shrinker_taints_mutex() 433 struct drm_i915_private *i915 = obj_to_i915(obj); in i915_gem_object_make_unshrinkable() local [all …]
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_gem.c | 41 static void trash_stolen(struct drm_i915_private *i915) in trash_stolen() 71 static void simulate_hibernate(struct drm_i915_private *i915) in simulate_hibernate() 89 static int pm_prepare(struct drm_i915_private *i915) in pm_prepare() 96 static void pm_suspend(struct drm_i915_private *i915) in pm_suspend() 106 static void pm_hibernate(struct drm_i915_private *i915) in pm_hibernate() 118 static void pm_resume(struct drm_i915_private *i915) in pm_resume() 134 struct drm_i915_private *i915 = arg; in igt_gem_suspend() local 169 struct drm_i915_private *i915 = arg; in igt_gem_hibernate() local 204 struct drm_i915_private *i915 = arg; in igt_gem_ww_ctx() local 242 int i915_gem_live_selftests(struct drm_i915_private *i915) in i915_gem_live_selftests()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_workarounds.c | 304 struct drm_i915_private *i915 = engine->i915; in bdw_ctx_workarounds_init() local 344 struct drm_i915_private *i915 = engine->i915; in gen9_ctx_workarounds_init() local 501 struct drm_i915_private *i915 = engine->i915; in kbl_ctx_workarounds_init() local 571 struct drm_i915_private *i915 = engine->i915; in icl_ctx_workarounds_init() local 682 struct drm_i915_private *i915 = engine->i915; in __intel_engine_init_ctx_wa() local 764 gen4_gt_workarounds_init(struct drm_i915_private *i915, in gen4_gt_workarounds_init() 772 g4x_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal) in g4x_gt_workarounds_init() 781 ilk_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal) in ilk_gt_workarounds_init() 789 snb_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal) in snb_gt_workarounds_init() 828 ivb_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal) in ivb_gt_workarounds_init() [all …]
|
D | intel_rps.c | 250 struct drm_i915_private *i915 = rps_to_i915(rps); in gen5_rps_init() local 349 static u32 pvid_to_extvid(struct drm_i915_private *i915, u8 pxvid) in pvid_to_extvid() 747 struct drm_i915_private *i915 = rps_to_i915(rps); in gen6_rps_set() local 768 struct drm_i915_private *i915 = rps_to_i915(rps); in vlv_rps_set() local 783 struct drm_i915_private *i915 = rps_to_i915(rps); in rps_set() local 953 struct drm_i915_private *i915 = rps_to_i915(rps); in gen6_rps_init() local 1005 struct drm_i915_private *i915 = rps_to_i915(rps); in rps_reset() local 1069 struct drm_i915_private *i915 = rps_to_i915(rps); in chv_rps_max_freq() local 1097 struct drm_i915_private *i915 = rps_to_i915(rps); in chv_rps_rpe_freq() local 1108 struct drm_i915_private *i915 = rps_to_i915(rps); in chv_rps_guar_freq() local [all …]
|
D | intel_rc6.c | 219 struct drm_i915_private *i915 = rc6_to_i915(rc6); in gen6_rc6_enable() local 274 struct drm_i915_private *i915 = rc6_to_i915(rc6); in chv_rc6_init() local 294 struct drm_i915_private *i915 = rc6_to_i915(rc6); in vlv_rc6_init() local 403 struct drm_i915_private *i915 = rc6_to_i915(rc6); in bxt_check_bios_rc6_setup() local 465 struct drm_i915_private *i915 = rc6_to_i915(rc6); in rc6_supported() local 501 struct drm_i915_private *i915 = rc6_to_i915(rc6); in pctx_corrupted() local 516 struct drm_i915_private *i915 = rc6_to_i915(rc6); in __intel_rc6_disable() local 529 struct drm_i915_private *i915 = rc6_to_i915(rc6); in intel_rc6_init() local 566 struct drm_i915_private *i915 = rc6_to_i915(rc6); in intel_rc6_enable() local 714 struct drm_i915_private *i915 = rc6_to_i915(rc6); in intel_rc6_residency_ns() local
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_mman.c | 273 setup_tile_size(struct tile *tile, struct drm_i915_private *i915) in setup_tile_size() 301 struct drm_i915_private *i915 = arg; in igt_partial_tiling() local 432 struct drm_i915_private *i915 = arg; in igt_smoke_tiling() local 525 struct drm_i915_private *i915 = to_i915(obj->base.dev); in make_obj_busy() local 575 static bool assert_mmap_offset(struct drm_i915_private *i915, in assert_mmap_offset() 592 static void disable_retire_worker(struct drm_i915_private *i915) in disable_retire_worker() 599 static void restore_retire_worker(struct drm_i915_private *i915) in restore_retire_worker() 606 static void mmap_offset_lock(struct drm_i915_private *i915) in mmap_offset_lock() 612 static void mmap_offset_unlock(struct drm_i915_private *i915) in mmap_offset_unlock() 620 struct drm_i915_private *i915 = arg; in igt_mmap_offset_exhaustion() local [all …]
|
D | i915_gem_dmabuf.c | 15 struct drm_i915_private *i915 = arg; in igt_dmabuf_export() local 37 struct drm_i915_private *i915 = arg; in igt_dmabuf_import_self() local 81 struct drm_i915_private *i915 = arg; in igt_dmabuf_import() local 163 struct drm_i915_private *i915 = arg; in igt_dmabuf_import_ownership() local 212 struct drm_i915_private *i915 = arg; in igt_dmabuf_export_vmap() local 266 struct drm_i915_private *i915; in i915_gem_dmabuf_mock_selftests() local 279 int i915_gem_dmabuf_live_selftests(struct drm_i915_private *i915) in i915_gem_dmabuf_live_selftests()
|
D | huge_pages.c | 31 static unsigned int get_largest_page_size(struct drm_i915_private *i915, in get_largest_page_size() 150 huge_pages_object(struct drm_i915_private *i915, in huge_pages_object() 186 struct drm_i915_private *i915 = to_i915(obj->base.dev); in fake_get_huge_pages() local 241 struct drm_i915_private *i915 = to_i915(obj->base.dev); in fake_get_huge_pages_single() local 301 fake_huge_pages_object(struct drm_i915_private *i915, u64 size, bool single) in fake_huge_pages_object() 337 struct drm_i915_private *i915 = vma->vm->i915; in igt_check_page_sizes() local 383 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_exhaust_device_supported_pages() local 459 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_memory_region_huge_pages() local 536 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_ppgtt_misaligned_dma() local 666 struct drm_i915_private *i915 = ppgtt->vm.i915; in igt_mock_ppgtt_huge_fill() local [all …]
|
D | i915_gem_object.c | 15 struct drm_i915_private *i915 = arg; in igt_gem_object() local 37 struct drm_i915_private *i915 = arg; in igt_gem_huge() local 79 struct drm_i915_private *i915; in i915_gem_object_mock_selftests() local 92 int i915_gem_object_live_selftests(struct drm_i915_private *i915) in i915_gem_object_live_selftests()
|