[Intel-gfx] [PATCH 3/4] drm/i915: Set hwmode during readout.

Ville Syrjälä ville.syrjala at linux.intel.com
Fri Jun 12 03:16:21 PDT 2015


On Fri, Jun 12, 2015 at 11:15:41AM +0200, Maarten Lankhorst wrote:
> This was introduced after converting hw readout to atomic,
> so it should have been part of the revert too.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90929
> Reported-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Tested-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

> ---
>  drivers/gpu/drm/i915/intel_display.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index cdf6549c8e74..14ccf49b9067 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -15357,6 +15357,7 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)
>  		crtc->base.state->enable = crtc->active;
>  		crtc->base.state->active = crtc->active;
>  		crtc->base.enabled = crtc->active;
> +		crtc->base.hwmode = crtc->config->base.adjusted_mode;
>  
>  		plane_state = to_intel_plane_state(primary->state);
>  		plane_state->visible = primary_get_hw_state(crtc);
> -- 
> 2.1.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel OTC


More information about the Intel-gfx mailing list