/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_drv.h | 1 /* i915_drv.h -- Private header for the I915 driver -*- linux-c -*- 73 /* Data Stolen Memory (DSM) aka "i915 stolen memory" */ 203 /* i915 device parameters */ 266 * scheduling within i915, which used to be scheduled on the 324 * i915->gt[0] == &i915->gt0 385 static inline struct intel_gt *to_gt(struct drm_i915_private *i915) in to_gt() argument 387 return &i915->gt0; in to_gt() 417 #define INTEL_INFO(i915) ((i915)->__info) argument 418 #define RUNTIME_INFO(i915) (&(i915)->__runtime) argument 419 #define DISPLAY_INFO(i915) ((i915)->display.info.__device_info) argument [all …]
|
D | intel_clock_gating.c | 45 void (*init_clock_gating)(struct drm_i915_private *i915); 48 static void gen9_init_clock_gating(struct drm_i915_private *i915) in gen9_init_clock_gating() argument 50 if (HAS_LLC(i915)) { in gen9_init_clock_gating() 58 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() 74 static void bxt_init_clock_gating(struct drm_i915_private *i915) in bxt_init_clock_gating() argument 76 gen9_init_clock_gating(i915); in bxt_init_clock_gating() 79 intel_uncore_rmw(&i915->uncore, GEN8_UCGCTL6, 0, GEN8_SDEUNIT_CLOCK_GATE_DISABLE); in bxt_init_clock_gating() [all …]
|
D | vlv_sideband.h | 28 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports); 29 u32 vlv_iosf_sb_read(struct drm_i915_private *i915, u8 port, u32 reg); 30 void vlv_iosf_sb_write(struct drm_i915_private *i915, 32 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports); 34 static inline void vlv_bunit_get(struct drm_i915_private *i915) in vlv_bunit_get() argument 36 vlv_iosf_sb_get(i915, BIT(VLV_IOSF_SB_BUNIT)); in vlv_bunit_get() 39 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg); 40 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val); 42 static inline void vlv_bunit_put(struct drm_i915_private *i915) in vlv_bunit_put() argument 44 vlv_iosf_sb_put(i915, BIT(VLV_IOSF_SB_BUNIT)); in vlv_bunit_put() [all …]
|
D | vlv_sideband.c | 32 static void __vlv_punit_get(struct drm_i915_private *i915) in __vlv_punit_get() argument 46 if (IS_VALLEYVIEW(i915)) { in __vlv_punit_get() 47 cpu_latency_qos_update_request(&i915->sb_qos, 0); in __vlv_punit_get() 52 static void __vlv_punit_put(struct drm_i915_private *i915) in __vlv_punit_put() argument 54 if (IS_VALLEYVIEW(i915)) in __vlv_punit_put() 55 cpu_latency_qos_update_request(&i915->sb_qos, in __vlv_punit_put() 61 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_get() argument 64 __vlv_punit_get(i915); in vlv_iosf_sb_get() 66 mutex_lock(&i915->sb_lock); in vlv_iosf_sb_get() 69 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_put() argument [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_display_device.h | 35 #define HAS_ASYNC_FLIPS(i915) (DISPLAY_VER(i915) >= 5) argument 36 #define HAS_CDCLK_CRAWL(i915) (DISPLAY_INFO(i915)->has_cdclk_crawl) argument 37 #define HAS_CDCLK_SQUASH(i915) (DISPLAY_INFO(i915)->has_cdclk_squash) argument 38 #define HAS_CUR_FBC(i915) (!HAS_GMCH(i915) && DISPLAY_VER(i915) >= 7) argument 39 #define HAS_D12_PLANE_MINIMIZATION(i915) (IS_ROCKETLAKE(i915) || IS_ALDERLAKE_S(i915)) argument 40 #define HAS_DDI(i915) (DISPLAY_INFO(i915)->has_ddi) argument 41 #define HAS_DISPLAY(i915) (DISPLAY_RUNTIME_INFO(i915)->pipe_mask != 0) argument 42 #define HAS_DMC(i915) (DISPLAY_RUNTIME_INFO(i915)->has_dmc) argument 43 #define HAS_DOUBLE_BUFFERED_M_N(i915) (DISPLAY_VER(i915) >= 9 || IS_BROADWELL(i915)) argument 44 #define HAS_DP_MST(i915) (DISPLAY_INFO(i915)->has_dp_mst) argument [all …]
|
D | intel_display_driver.c | 79 void intel_display_driver_init_hw(struct drm_i915_private *i915) in intel_display_driver_init_hw() argument 83 if (!HAS_DISPLAY(i915)) in intel_display_driver_init_hw() 86 cdclk_state = to_intel_cdclk_state(i915->display.cdclk.obj.state); in intel_display_driver_init_hw() 88 intel_update_cdclk(i915); in intel_display_driver_init_hw() 89 intel_cdclk_dump_config(i915, &i915->display.cdclk.hw, "Current CDCLK"); in intel_display_driver_init_hw() 90 cdclk_state->logical = cdclk_state->actual = i915->display.cdclk.hw; in intel_display_driver_init_hw() 109 static void intel_mode_config_init(struct drm_i915_private *i915) in intel_mode_config_init() argument 111 struct drm_mode_config *mode_config = &i915->drm.mode_config; in intel_mode_config_init() 113 drm_mode_config_init(&i915->drm); in intel_mode_config_init() 114 INIT_LIST_HEAD(&i915->display.global.obj_list); in intel_mode_config_init() [all …]
|
D | intel_gmbus.c | 51 struct drm_i915_private *i915; member 152 static const struct gmbus_pin *get_gmbus_pin(struct drm_i915_private *i915, in get_gmbus_pin() argument 158 if (INTEL_PCH_TYPE(i915) >= PCH_DG2) { in get_gmbus_pin() 161 } else if (INTEL_PCH_TYPE(i915) >= PCH_DG1) { in get_gmbus_pin() 164 } else if (INTEL_PCH_TYPE(i915) >= PCH_MTP) { in get_gmbus_pin() 167 } else if (INTEL_PCH_TYPE(i915) >= PCH_ICP) { in get_gmbus_pin() 170 } else if (HAS_PCH_CNP(i915)) { in get_gmbus_pin() 173 } else if (IS_GEMINILAKE(i915) || IS_BROXTON(i915)) { in get_gmbus_pin() 176 } else if (DISPLAY_VER(i915) == 9) { in get_gmbus_pin() 179 } else if (IS_BROADWELL(i915)) { in get_gmbus_pin() [all …]
|
D | intel_dmc.c | 51 struct drm_i915_private *i915; member 69 static struct intel_dmc *i915_to_dmc(struct drm_i915_private *i915) in i915_to_dmc() argument 71 return i915->display.dmc.dmc; in i915_to_dmc() 79 "i915/" __stringify(platform) "_dmc.bin" 87 "i915/" \ 296 static bool has_dmc_id_fw(struct drm_i915_private *i915, enum intel_dmc_id dmc_id) in has_dmc_id_fw() argument 298 struct intel_dmc *dmc = i915_to_dmc(i915); in has_dmc_id_fw() 303 bool intel_dmc_has_payload(struct drm_i915_private *i915) in intel_dmc_has_payload() argument 305 return has_dmc_id_fw(i915, DMC_FW_MAIN); in intel_dmc_has_payload() 309 intel_get_stepping_info(struct drm_i915_private *i915, in intel_get_stepping_info() argument [all …]
|
D | intel_display_irq.h | 17 void valleyview_enable_display_irqs(struct drm_i915_private *i915); 18 void valleyview_disable_display_irqs(struct drm_i915_private *i915); 20 void ilk_update_display_irq(struct drm_i915_private *i915, 22 void ilk_enable_display_irq(struct drm_i915_private *i915, u32 bits); 23 void ilk_disable_display_irq(struct drm_i915_private *i915, u32 bits); 25 void bdw_update_port_irq(struct drm_i915_private *i915, u32 interrupt_mask, u32 enabled_irq_mask); 26 void bdw_enable_pipe_irq(struct drm_i915_private *i915, enum pipe pipe, u32 bits); 27 void bdw_disable_pipe_irq(struct drm_i915_private *i915, enum pipe pipe, u32 bits); 29 void ibx_display_interrupt_update(struct drm_i915_private *i915, 31 void ibx_enable_display_interrupt(struct drm_i915_private *i915, u32 bits); [all …]
|
D | intel_dkl_phy.c | 16 * @i915: i915 device instance 18 void intel_dkl_phy_init(struct drm_i915_private *i915) in intel_dkl_phy_init() argument 20 spin_lock_init(&i915->display.dkl.phy_lock); in intel_dkl_phy_init() 24 dkl_phy_set_hip_idx(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg) in dkl_phy_set_hip_idx() argument 28 drm_WARN_ON(&i915->drm, tc_port < TC_PORT_1 || tc_port >= I915_MAX_TC_PORTS); in dkl_phy_set_hip_idx() 30 intel_de_write(i915, in dkl_phy_set_hip_idx() 37 * @i915: i915 device instance 45 intel_dkl_phy_read(struct drm_i915_private *i915, struct intel_dkl_phy_reg reg) in intel_dkl_phy_read() argument 49 spin_lock(&i915->display.dkl.phy_lock); in intel_dkl_phy_read() 51 dkl_phy_set_hip_idx(i915, reg); in intel_dkl_phy_read() [all …]
|
D | intel_fbc.c | 35 * i915 is responsible to reserve stolen memory for FBC and configure its 87 struct drm_i915_private *i915; member 148 struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev); in skl_fbc_min_cfb_stride() local 162 if (DISPLAY_VER(i915) >= 11) in skl_fbc_min_cfb_stride() 178 struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev); in intel_fbc_cfb_stride() local 186 if (DISPLAY_VER(i915) >= 9) in intel_fbc_cfb_stride() 194 struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev); in intel_fbc_cfb_size() local 197 if (DISPLAY_VER(i915) == 7) in intel_fbc_cfb_size() 199 else if (DISPLAY_VER(i915) >= 8) in intel_fbc_cfb_size() 207 struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev); in intel_fbc_override_cfb_stride() local [all …]
|
D | intel_hdcp.c | 123 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_hdcp_read_valid_bksv() local 135 drm_dbg_kms(&i915->drm, "Bksv is invalid\n"); in intel_hdcp_read_valid_bksv() 167 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_hdcp2_capable() local 171 /* I915 support for HDCP2.2 */ in intel_hdcp2_capable() 176 if (intel_hdcp_gsc_cs_required(i915)) { in intel_hdcp2_capable() 177 struct intel_gt *gt = i915->media_gt; in intel_hdcp2_capable() 181 drm_dbg_kms(&i915->drm, in intel_hdcp2_capable() 188 mutex_lock(&i915->display.hdcp.hdcp_mutex); in intel_hdcp2_capable() 189 if (!i915->display.hdcp.comp_added || !i915->display.hdcp.arbiter) { in intel_hdcp2_capable() 190 mutex_unlock(&i915->display.hdcp.hdcp_mutex); in intel_hdcp2_capable() [all …]
|
D | intel_audio.c | 64 * struct &i915_audio_component_audio_ops @audio_ops is called from i915 driver. 255 struct drm_i915_private *i915 = to_i915(crtc_state->uapi.crtc->dev); in audio_config_hdmi_pixel_clock() local 265 if (DISPLAY_VER(i915) < 12 && adjusted_mode->crtc_clock > 148500) in audio_config_hdmi_pixel_clock() 269 drm_dbg_kms(&i915->drm, in audio_config_hdmi_pixel_clock() 275 drm_dbg_kms(&i915->drm, in audio_config_hdmi_pixel_clock() 310 static int g4x_eld_buffer_size(struct drm_i915_private *i915) in g4x_eld_buffer_size() argument 314 tmp = intel_de_read(i915, G4X_AUD_CNTL_ST); in g4x_eld_buffer_size() 322 struct drm_i915_private *i915 = to_i915(encoder->base.dev); in g4x_audio_codec_get_config() local 327 tmp = intel_de_read(i915, G4X_AUD_CNTL_ST); in g4x_audio_codec_get_config() 331 intel_de_rmw(i915, G4X_AUD_CNTL_ST, G4X_ELD_ADDRESS_MASK, 0); in g4x_audio_codec_get_config() [all …]
|
D | intel_backlight.c | 86 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_invert_pwm_level() local 89 drm_WARN_ON(&i915->drm, panel->backlight.pwm_level_max == 0); in intel_backlight_invert_pwm_level() 91 if (i915->params.invert_brightness < 0) in intel_backlight_invert_pwm_level() 94 if (i915->params.invert_brightness > 0 || in intel_backlight_invert_pwm_level() 95 intel_has_quirk(i915, QUIRK_INVERT_BRIGHTNESS)) { in intel_backlight_invert_pwm_level() 105 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_set_pwm_level() local 108 drm_dbg_kms(&i915->drm, "[CONNECTOR:%d:%s] set backlight PWM = %d\n", in intel_backlight_set_pwm_level() 115 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_level_to_pwm() local 118 drm_WARN_ON_ONCE(&i915->drm, in intel_backlight_level_to_pwm() 129 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_backlight_level_from_pwm() local [all …]
|
D | intel_pmdemand.c | 44 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_atomic_get_pmdemand_state() local 47 &i915->display.pmdemand.obj); in intel_atomic_get_pmdemand_state() 58 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_atomic_get_old_pmdemand_state() local 61 &i915->display.pmdemand.obj); in intel_atomic_get_old_pmdemand_state() 72 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_atomic_get_new_pmdemand_state() local 75 &i915->display.pmdemand.obj); in intel_atomic_get_new_pmdemand_state() 83 int intel_pmdemand_init(struct drm_i915_private *i915) in intel_pmdemand_init() argument 91 intel_atomic_global_obj_init(i915, &i915->display.pmdemand.obj, in intel_pmdemand_init() 95 if (IS_MTL_DISPLAY_STEP(i915, STEP_A0, STEP_C0)) in intel_pmdemand_init() 97 intel_de_rmw(i915, XELPD_CHICKEN_DCPR_3, 0, DMD_RSP_TIMEOUT_DISABLE); in intel_pmdemand_init() [all …]
|
D | intel_modeset_setup.c | 38 struct drm_i915_private *i915 = to_i915(crtc->base.dev); in intel_crtc_disable_noatomic_begin() local 49 for_each_intel_plane_on_crtc(&i915->drm, crtc, plane) { in intel_crtc_disable_noatomic_begin() 57 state = drm_atomic_state_alloc(&i915->drm); in intel_crtc_disable_noatomic_begin() 59 drm_dbg_kms(&i915->drm, in intel_crtc_disable_noatomic_begin() 69 for_each_intel_crtc_in_pipe_mask(&i915->drm, temp_crtc, in intel_crtc_disable_noatomic_begin() 78 drm_WARN_ON(&i915->drm, IS_ERR(temp_crtc_state) || ret); in intel_crtc_disable_noatomic_begin() 81 i915->display.funcs.display->crtc_disable(to_intel_atomic_state(state), crtc); in intel_crtc_disable_noatomic_begin() 85 drm_dbg_kms(&i915->drm, in intel_crtc_disable_noatomic_begin() 118 struct drm_i915_private *i915 = to_i915(encoder->base.dev); in reset_encoder_connector_state() local 120 to_intel_pmdemand_state(i915->display.pmdemand.obj.state); in reset_encoder_connector_state() [all …]
|
D | intel_de.h | 14 intel_de_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read() argument 16 return intel_uncore_read(&i915->uncore, reg); in intel_de_read() 20 intel_de_read8(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read8() argument 22 return intel_uncore_read8(&i915->uncore, reg); in intel_de_read8() 26 intel_de_read64_2x32(struct drm_i915_private *i915, in intel_de_read64_2x32() argument 29 return intel_uncore_read64_2x32(&i915->uncore, lower_reg, upper_reg); in intel_de_read64_2x32() 33 intel_de_posting_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_posting_read() argument 35 intel_uncore_posting_read(&i915->uncore, reg); in intel_de_posting_read() 39 intel_de_write(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write() argument 41 intel_uncore_write(&i915->uncore, reg, val); in intel_de_write() [all …]
|
D | intel_bios.c | 65 struct drm_i915_private *i915; member 144 bdb_find_section(struct drm_i915_private *i915, in bdb_find_section() argument 149 list_for_each_entry(entry, &i915->display.vbt.bdb_blocks, node) { in bdb_find_section() 199 static size_t lfp_data_min_size(struct drm_i915_private *i915) in lfp_data_min_size() argument 204 ptrs = bdb_find_section(i915, BDB_LVDS_LFP_DATA_PTRS); in lfp_data_min_size() 359 static void *generate_lfp_data_ptrs(struct drm_i915_private *i915, in generate_lfp_data_ptrs() argument 373 if (i915->display.vbt.version < 155) in generate_lfp_data_ptrs() 382 drm_dbg_kms(&i915->drm, "Generating LFP data table pointers\n"); in generate_lfp_data_ptrs() 450 init_bdb_block(struct drm_i915_private *i915, in init_bdb_block() argument 463 temp_block = generate_lfp_data_ptrs(i915, bdb); in init_bdb_block() [all …]
|
D | intel_hdcp_gsc.c | 15 bool intel_hdcp_gsc_cs_required(struct drm_i915_private *i915) in intel_hdcp_gsc_cs_required() argument 17 return DISPLAY_VER(i915) >= 14; in intel_hdcp_gsc_cs_required() 27 struct drm_i915_private *i915; in gsc_hdcp_initiate_session() local 33 i915 = kdev_to_i915(dev); in gsc_hdcp_initiate_session() 34 if (!i915) { in gsc_hdcp_initiate_session() 50 byte = intel_hdcp_gsc_msg_send(i915, (u8 *)&session_init_in, in gsc_hdcp_initiate_session() 55 drm_dbg_kms(&i915->drm, "intel_hdcp_gsc_msg_send failed. %zd\n", byte); in gsc_hdcp_initiate_session() 60 drm_dbg_kms(&i915->drm, "FW cmd 0x%08X Failed. Status: 0x%X\n", in gsc_hdcp_initiate_session() 84 struct drm_i915_private *i915; in gsc_hdcp_verify_receiver_cert_prepare_km() local 90 i915 = kdev_to_i915(dev); in gsc_hdcp_verify_receiver_cert_prepare_km() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/soc/ |
D | intel_gmch.c | 21 int intel_gmch_bridge_setup(struct drm_i915_private *i915) in intel_gmch_bridge_setup() argument 23 int domain = pci_domain_nr(to_pci_dev(i915->drm.dev)->bus); in intel_gmch_bridge_setup() 25 i915->gmch.pdev = pci_get_domain_bus_and_slot(domain, 0, PCI_DEVFN(0, 0)); in intel_gmch_bridge_setup() 26 if (!i915->gmch.pdev) { in intel_gmch_bridge_setup() 27 drm_err(&i915->drm, "bridge device not found\n"); in intel_gmch_bridge_setup() 31 return drmm_add_action_or_reset(&i915->drm, intel_gmch_bridge_release, in intel_gmch_bridge_setup() 32 i915->gmch.pdev); in intel_gmch_bridge_setup() 37 intel_alloc_mchbar_resource(struct drm_i915_private *i915) in intel_alloc_mchbar_resource() argument 39 int reg = GRAPHICS_VER(i915) >= 4 ? MCHBAR_I965 : MCHBAR_I915; in intel_alloc_mchbar_resource() 44 if (GRAPHICS_VER(i915) >= 4) in intel_alloc_mchbar_resource() [all …]
|
D | intel_dram.c | 140 static void chv_detect_mem_freq(struct drm_i915_private *i915) in chv_detect_mem_freq() argument 144 vlv_iosf_sb_get(i915, BIT(VLV_IOSF_SB_CCK)); in chv_detect_mem_freq() 145 val = vlv_cck_read(i915, CCK_FUSE_REG); in chv_detect_mem_freq() 146 vlv_iosf_sb_put(i915, BIT(VLV_IOSF_SB_CCK)); in chv_detect_mem_freq() 150 i915->mem_freq = 2000; in chv_detect_mem_freq() 153 i915->mem_freq = 1600; in chv_detect_mem_freq() 158 static void vlv_detect_mem_freq(struct drm_i915_private *i915) in vlv_detect_mem_freq() argument 162 vlv_iosf_sb_get(i915, BIT(VLV_IOSF_SB_PUNIT)); in vlv_detect_mem_freq() 163 val = vlv_punit_read(i915, PUNIT_REG_GPU_FREQ_STS); in vlv_detect_mem_freq() 164 vlv_iosf_sb_put(i915, BIT(VLV_IOSF_SB_PUNIT)); in vlv_detect_mem_freq() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/selftests/ |
D | mock_gem_device.c | 46 void mock_device_flush(struct drm_i915_private *i915) in mock_device_flush() argument 48 struct intel_gt *gt = to_gt(i915); in mock_device_flush() 61 struct drm_i915_private *i915 = to_i915(dev); in mock_device_release() local 63 if (!i915->do_release) in mock_device_release() 66 mock_device_flush(i915); in mock_device_release() 67 intel_gt_driver_remove(to_gt(i915)); in mock_device_release() 69 i915_gem_drain_workqueue(i915); in mock_device_release() 71 mock_fini_ggtt(to_gt(i915)->ggtt); in mock_device_release() 72 destroy_workqueue(i915->unordered_wq); in mock_device_release() 73 destroy_workqueue(i915->wq); in mock_device_release() [all …]
|
D | i915_gem.c | 43 static void trash_stolen(struct drm_i915_private *i915) in trash_stolen() argument 45 struct i915_ggtt *ggtt = to_gt(i915)->ggtt; in trash_stolen() 47 const resource_size_t size = resource_size(&i915->dsm.stolen); in trash_stolen() 56 const dma_addr_t dma = i915->dsm.stolen.start + page; in trash_stolen() 61 i915_gem_get_pat_index(i915, in trash_stolen() 76 static void simulate_hibernate(struct drm_i915_private *i915) in simulate_hibernate() argument 80 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in simulate_hibernate() 89 trash_stolen(i915); in simulate_hibernate() 91 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in simulate_hibernate() 94 static int igt_pm_prepare(struct drm_i915_private *i915) in igt_pm_prepare() argument [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 40 int i915_gem_stolen_insert_node_in_range(struct drm_i915_private *i915, in i915_gem_stolen_insert_node_in_range() argument 46 if (!drm_mm_initialized(&i915->mm.stolen)) in i915_gem_stolen_insert_node_in_range() 50 if (GRAPHICS_VER(i915) >= 8 && start < 4096) in i915_gem_stolen_insert_node_in_range() 53 mutex_lock(&i915->mm.stolen_lock); in i915_gem_stolen_insert_node_in_range() 54 ret = drm_mm_insert_node_in_range(&i915->mm.stolen, node, in i915_gem_stolen_insert_node_in_range() 57 mutex_unlock(&i915->mm.stolen_lock); in i915_gem_stolen_insert_node_in_range() 62 int i915_gem_stolen_insert_node(struct drm_i915_private *i915, in i915_gem_stolen_insert_node() argument 66 return i915_gem_stolen_insert_node_in_range(i915, node, in i915_gem_stolen_insert_node() 72 void i915_gem_stolen_remove_node(struct drm_i915_private *i915, in i915_gem_stolen_remove_node() argument 75 mutex_lock(&i915->mm.stolen_lock); in i915_gem_stolen_remove_node() [all …]
|
/Linux-v6.6/Documentation/gpu/ |
D | i915.rst | 2 drm/i915 Intel GFX Driver 5 The drm/i915 driver supports all (with the exception of some very early 19 .. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c 22 .. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c 25 .. kernel-doc:: drivers/gpu/drm/i915/intel_uncore.c 31 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 34 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 37 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 40 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 46 .. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c [all …]
|