Home
last modified time | relevance | path

Searched refs:to_i915 (Results 1 – 25 of 61) sorted by relevance

123

/drivers/gpu/drm/i915/
Dintel_fifo_underrun.c53 struct drm_i915_private *dev_priv = to_i915(dev); in ivb_can_enable_err_int()
71 struct drm_i915_private *dev_priv = to_i915(dev); in cpt_can_enable_serr_int()
89 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in i9xx_check_fifo_underruns()
109 struct drm_i915_private *dev_priv = to_i915(dev); in i9xx_set_fifo_underrun_reporting()
127 struct drm_i915_private *dev_priv = to_i915(dev); in ironlake_set_fifo_underrun_reporting()
139 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ivybridge_check_fifo_underruns()
159 struct drm_i915_private *dev_priv = to_i915(dev); in ivybridge_set_fifo_underrun_reporting()
181 struct drm_i915_private *dev_priv = to_i915(dev); in broadwell_set_fifo_underrun_reporting()
193 struct drm_i915_private *dev_priv = to_i915(dev); in ibx_set_fifo_underrun_reporting()
205 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in cpt_check_pch_fifo_underruns()
[all …]
Dintel_dsi_pll.c117 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_compute_dsi_pll()
148 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_enable_dsi_pll()
180 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_disable_dsi_pll()
234 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in bxt_disable_dsi_pll()
267 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_dsi_get_pclk()
337 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in bxt_dsi_get_pclk()
363 if (IS_GEN9_LP(to_i915(encoder->base.dev))) in intel_dsi_get_pclk()
372 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_dsi_reset_clocks()
385 struct drm_i915_private *dev_priv = to_i915(dev); in glk_dsi_program_esc_clock()
433 struct drm_i915_private *dev_priv = to_i915(dev); in bxt_dsi_program_clocks()
[all …]
Dintel_panel.c308 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in intel_gmch_panel_fitting()
463 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_panel_compute_brightness()
481 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in lpt_get_backlight()
488 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in pch_get_backlight()
495 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in i9xx_get_backlight()
523 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in vlv_get_backlight()
531 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in bxt_get_backlight()
548 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_panel_get_backlight()
568 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in lpt_set_backlight()
577 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in pch_set_backlight()
[all …]
Dintel_hdmi.c52 struct drm_i915_private *dev_priv = to_i915(dev); in assert_hdmi_port_disabled()
144 struct drm_i915_private *dev_priv = to_i915(dev); in g4x_write_infoframe()
178 struct drm_i915_private *dev_priv = to_i915(encoder->dev); in g4x_infoframe_enabled()
199 struct drm_i915_private *dev_priv = to_i915(dev); in ibx_write_infoframe()
235 struct drm_i915_private *dev_priv = to_i915(encoder->dev); in ibx_infoframe_enabled()
259 struct drm_i915_private *dev_priv = to_i915(dev); in cpt_write_infoframe()
298 struct drm_i915_private *dev_priv = to_i915(encoder->dev); in cpt_infoframe_enabled()
317 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_write_infoframe()
353 struct drm_i915_private *dev_priv = to_i915(encoder->dev); in vlv_infoframe_enabled()
376 struct drm_i915_private *dev_priv = to_i915(dev); in hsw_write_infoframe()
[all …]
Dintel_color.c113 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in i9xx_load_ycbcr_conversion_matrix()
138 struct drm_i915_private *dev_priv = to_i915(crtc->dev); in i9xx_load_csc_matrix()
253 struct drm_i915_private *dev_priv = to_i915(dev); in cherryview_load_csc_matrix()
301 struct drm_i915_private *dev_priv = to_i915(dev); in intel_color_set_csc()
313 struct drm_i915_private *dev_priv = to_i915(dev); in i9xx_load_luts_internal()
361 struct drm_i915_private *dev_priv = to_i915(dev); in haswell_load_luts()
388 struct drm_i915_private *dev_priv = to_i915(state->crtc->dev); in bdw_load_degamma_lut()
419 struct drm_i915_private *dev_priv = to_i915(state->crtc->dev); in bdw_load_gamma_lut()
468 struct drm_i915_private *dev_priv = to_i915(state->crtc->dev); in broadwell_load_luts()
494 struct drm_i915_private *dev_priv = to_i915(state->crtc->dev); in glk_load_degamma_lut()
[all …]
Dintel_crt.c70 struct drm_i915_private *dev_priv = to_i915(dev); in intel_crt_get_hw_state()
100 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_flags()
130 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_crt_get_config()
149 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_set_dpms()
220 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_post_disable_crt()
242 struct drm_i915_private *dev_priv = to_i915(dev); in intel_crt_mode_valid()
282 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_compute_config()
308 struct drm_i915_private *dev_priv = to_i915(dev); in intel_ironlake_crt_detect_hotplug()
355 struct drm_i915_private *dev_priv = to_i915(dev); in valleyview_crt_detect_hotplug()
416 struct drm_i915_private *dev_priv = to_i915(dev); in intel_crt_detect_hotplug()
[all …]
Dintel_psr.c66 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_is_psr_active_on_pipe()
80 struct drm_i915_private *dev_priv = to_i915(dev); in intel_psr_write_vsc()
110 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_psr_setup_vsc()
127 struct drm_i915_private *dev_priv = to_i915(dev); in skl_psr_setup_su_vsc()
189 struct drm_i915_private *dev_priv = to_i915(dev); in hsw_psr_enable_sink()
240 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_psr_enable_source()
255 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_psr_activate()
272 struct drm_i915_private *dev_priv = to_i915(dev); in intel_enable_source_psr1()
326 struct drm_i915_private *dev_priv = to_i915(dev); in intel_enable_source_psr2()
362 struct drm_i915_private *dev_priv = to_i915(dev); in hsw_psr_enable_source()
[all …]
Dintel_dp.c212 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dp_downstream_max_dotclock()
234 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in intel_dp_set_source_rates()
455 struct drm_i915_private *dev_priv = to_i915(dev); in pps_lock()
471 struct drm_i915_private *dev_priv = to_i915(dev); in pps_unlock()
482 struct drm_i915_private *dev_priv = to_i915(intel_dig_port->base.base.dev); in vlv_power_sequencer_kick()
594 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_power_sequencer_pipe()
642 struct drm_i915_private *dev_priv = to_i915(dev); in bxt_power_sequencer_idx()
717 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_initial_power_sequencer_setup()
823 intel_pps_get_registers(to_i915(intel_dp_to_dev(intel_dp)), intel_dp, in _pp_ctrl_reg()
834 intel_pps_get_registers(to_i915(intel_dp_to_dev(intel_dp)), intel_dp, in _pp_stat_reg()
[all …]
Dintel_dvo.c125 struct drm_i915_private *dev_priv = to_i915(dev); in intel_dvo_connector_get_hw_state()
141 struct drm_i915_private *dev_priv = to_i915(dev); in intel_dvo_get_hw_state()
158 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dvo_get_config()
181 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_disable_dvo()
195 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_enable_dvo()
217 int max_dotclk = to_i915(connector->dev)->max_dotclk_freq; in intel_dvo_mode_valid()
264 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dvo_pre_enable()
313 struct drm_i915_private *dev_priv = to_i915(connector->dev); in intel_dvo_get_modes()
385 struct drm_i915_private *dev_priv = to_i915(dev); in intel_dvo_get_current_mode()
Dintel_dsi.c76 struct drm_i915_private *dev_priv = to_i915(dev); in wait_for_dsi_fifo_empty()
123 struct drm_i915_private *dev_priv = to_i915(dev); in intel_dsi_host_transfer()
252 struct drm_i915_private *dev_priv = to_i915(dev); in dpi_send_cmd()
307 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dsi_compute_config()
351 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in glk_dsi_enable_io()
400 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in glk_dsi_device_ready()
474 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in bxt_dsi_device_ready()
501 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_dsi_device_ready()
540 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dsi_device_ready()
552 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in glk_dsi_enter_low_power_mode()
[all …]
Dintel_ddi.c685 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_prepare_dp_ddi_buffers()
738 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_prepare_hdmi_ddi_buffers()
822 struct drm_i915_private *dev_priv = to_i915(dev); in hsw_fdi_link_train()
1189 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in cnl_ddi_clock_get()
1242 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in skl_ddi_clock_get()
1290 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_ddi_clock_get()
1362 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in bxt_ddi_clock_get()
1374 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_ddi_clock_get()
1389 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_ddi_set_pipe_settings()
1427 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_ddi_set_vc_payload_alloc()
[all …]
Dintel_display.c667 if (!intel_PLL_is_valid(to_i915(dev), in i9xx_find_best_dpll()
723 if (!intel_PLL_is_valid(to_i915(dev), in pnv_find_best_dpll()
784 if (!intel_PLL_is_valid(to_i915(dev), in g4x_find_best_dpll()
817 if (IS_CHERRYVIEW(to_i915(dev))) { in vlv_PLL_is_optimal()
881 if (!intel_PLL_is_valid(to_i915(dev), in vlv_find_best_dpll()
950 if (!intel_PLL_is_valid(to_i915(dev), limit, &clock)) in chv_find_best_dpll()
1024 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in wait_for_pipe_scanline_moving()
1061 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_wait_for_pipe_off()
1255 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in assert_planes_disabled()
1405 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in _vlv_enable_pll()
[all …]
Dintel_sprite.c87 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pipe_update_start()
186 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pipe_update_end()
233 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in skl_update_plane()
312 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in skl_disable_plane()
330 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in skl_plane_get_hw_state()
351 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in chv_update_csc()
395 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in vlv_update_clrc()
498 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in vlv_update_plane()
554 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in vlv_disable_plane()
572 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in vlv_plane_get_hw_state()
[all …]
Di915_irq.c720 struct drm_i915_private *dev_priv = to_i915(dev); in i915_get_vblank_counter()
770 struct drm_i915_private *dev_priv = to_i915(dev); in g4x_get_vblank_counter()
779 struct drm_i915_private *dev_priv = to_i915(dev); in __intel_get_crtc_scanline()
837 struct drm_i915_private *dev_priv = to_i915(dev); in i915_get_crtc_scanoutpos()
948 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_get_crtc_scanline()
1859 struct drm_i915_private *dev_priv = to_i915(dev); in valleyview_irq_handler()
1946 struct drm_i915_private *dev_priv = to_i915(dev); in cherryview_irq_handler()
2326 struct drm_i915_private *dev_priv = to_i915(dev); in ironlake_irq_handler()
2549 struct drm_i915_private *dev_priv = to_i915(dev); in gen8_irq_handler()
2791 struct drm_i915_private *dev_priv = to_i915(dev); in i8xx_enable_vblank()
[all …]
Dintel_fbdev.c117 struct drm_i915_private *dev_priv = to_i915(dev); in intelfb_alloc()
175 struct drm_i915_private *dev_priv = to_i915(dev); in intelfb_create()
328 struct drm_i915_private *dev_priv = to_i915(fb_helper->dev); in intel_fb_initial_config()
661 struct drm_i915_private *dev_priv = to_i915(dev); in intel_fbdev_init()
698 intel_fbdev_unregister(to_i915(ifbdev->helper.dev)); in intel_fbdev_initial_config()
703 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; in intel_fbdev_initial_config_async()
747 struct drm_i915_private *dev_priv = to_i915(dev); in intel_fbdev_set_suspend()
796 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; in intel_fbdev_output_poll_changed()
808 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; in intel_fbdev_restore_mode()
Di915_gem_tiling.c138 struct drm_i915_private *i915 = to_i915(obj->base.dev); in i915_tiling_ok()
227 struct drm_i915_private *i915 = to_i915(obj->base.dev); in i915_gem_object_set_tiling()
358 args->swizzle_mode = to_i915(dev)->mm.bit_6_swizzle_x; in i915_gem_set_tiling_ioctl()
360 args->swizzle_mode = to_i915(dev)->mm.bit_6_swizzle_y; in i915_gem_set_tiling_ioctl()
416 struct drm_i915_private *dev_priv = to_i915(dev); in i915_gem_get_tiling_ioctl()
Dintel_audio.c218 struct drm_i915_private *dev_priv = to_i915(connector->dev); in intel_eld_uptodate()
242 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in g4x_audio_codec_disable()
263 struct drm_i915_private *dev_priv = to_i915(connector->dev); in g4x_audio_codec_enable()
302 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in hsw_dp_audio_config_update()
346 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in hsw_hdmi_audio_config_update()
394 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in hsw_audio_codec_disable()
426 struct drm_i915_private *dev_priv = to_i915(connector->dev); in hsw_audio_codec_enable()
475 struct drm_i915_private *dev_priv = to_i915(intel_encoder->base.dev); in ilk_audio_codec_disable()
521 struct drm_i915_private *dev_priv = to_i915(connector->dev); in ilk_audio_codec_enable()
611 struct drm_i915_private *dev_priv = to_i915(encoder->dev); in intel_audio_codec_enable()
[all …]
Dintel_fbc.c457 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_schedule_activation()
500 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in multiple_pipes_ok()
568 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_alloc_cfb()
700 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_hw_tracking_covers_screen()
727 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_update_state_cache()
759 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_can_activate()
865 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_get_reg_params()
897 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_pre_update()
923 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in __intel_fbc_post_update()
956 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fbc_post_update()
[all …]
Dintel_dpio_phy.c591 struct drm_i915_private *dev_priv = to_i915(dport->base.base.dev); in bxt_ddi_phy_set_lane_optim_mask()
618 struct drm_i915_private *dev_priv = to_i915(dport->base.base.dev); in bxt_ddi_phy_get_lane_lat_optim_mask()
643 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in chv_set_phy_signal_level()
739 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in chv_data_lane_soft_reset()
784 struct drm_i915_private *dev_priv = to_i915(dev); in chv_phy_pre_pll_enable()
866 struct drm_i915_private *dev_priv = to_i915(dev); in chv_phy_pre_encoder_enable()
945 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in chv_phy_release_cl2_override()
955 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in chv_phy_post_pll_disable()
990 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in vlv_set_phy_signal_level()
1016 struct drm_i915_private *dev_priv = to_i915(dev); in vlv_phy_pre_pll_enable()
[all …]
Dintel_lvds.c90 struct drm_i915_private *dev_priv = to_i915(dev); in intel_lvds_get_hw_state()
122 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_lvds_get_config()
234 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_pre_enable_lvds()
312 struct drm_i915_private *dev_priv = to_i915(dev); in intel_enable_lvds()
330 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_disable_lvds()
370 int max_pixclk = to_i915(connector->dev)->max_dotclk_freq; in intel_lvds_mode_valid()
386 struct drm_i915_private *dev_priv = to_i915(intel_encoder->base.dev); in intel_lvds_compute_config()
786 struct drm_i915_private *dev_priv = to_i915(dev); in compute_is_dual_link_lvds()
Dintel_modes.c101 struct drm_i915_private *dev_priv = to_i915(dev); in intel_attach_force_audio_property()
128 struct drm_i915_private *dev_priv = to_i915(dev); in intel_attach_broadcast_rgb_property()
Dintel_dp_mst.c191 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_mst_pre_enable_dp()
234 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_mst_enable_dp()
270 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dp_mst_enc_get_config()
375 int max_dotclk = to_i915(connector->dev)->max_dotclk_freq; in intel_dp_mst_mode_valid()
488 struct drm_i915_private *dev_priv = to_i915(connector->dev); in intel_dp_register_mst_connector()
500 struct drm_i915_private *dev_priv = to_i915(connector->dev); in intel_dp_destroy_mst_connector()
Dintel_frontbuffer.c73 struct drm_i915_private *dev_priv = to_i915(obj->base.dev); in __intel_fb_obj_invalidate()
120 struct drm_i915_private *dev_priv = to_i915(obj->base.dev); in __intel_fb_obj_flush()
Di915_gem.c124 struct drm_i915_private *dev_priv = to_i915(dev); in i915_mutex_lock_interruptible()
142 struct drm_i915_private *dev_priv = to_i915(dev); in i915_gem_get_aperture_ioctl()
207 i915_gem_chipset_flush(to_i915(obj->base.dev)); in i915_gem_object_get_pages_phys()
573 i915_gem_chipset_flush(to_i915(obj->base.dev)); in i915_gem_phys_pwrite()
586 struct drm_i915_private *dev_priv = to_i915(obj->base.dev); in i915_gem_object_free()
627 return i915_gem_create(file, to_i915(dev), in i915_gem_dumb_create()
647 struct drm_i915_private *dev_priv = to_i915(dev); in i915_gem_create_ioctl()
666 struct drm_i915_private *dev_priv = to_i915(obj->base.dev); in flush_write_domain()
1025 struct drm_i915_private *i915 = to_i915(obj->base.dev); in i915_gem_gtt_pread()
1209 struct drm_i915_private *i915 = to_i915(obj->base.dev); in i915_gem_gtt_pwrite_fast()
[all …]
Dintel_lspcon.c162 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in lspcon_resume_in_pcon_wa()
211 struct drm_i915_private *dev_priv = to_i915(dev); in lspcon_init()

123