[Intel-gfx] [PATCH 14/15] drm/zte: Use drm_mode_get_hv_timing() to populate plane clip rectangle

Shawn Guo shawnguo at kernel.org
Wed Nov 29 06:41:17 UTC 2017


On Thu, Nov 23, 2017 at 09:05:01PM +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.
> 
> Note that this replaces crtc_state->adjusted_mode usage with
> crtc_state->mode. The latter is the correct choice since that's the
> mode the user provided and it matches the plane crtc coordinates
> the user also provided.
> 
> Once everyone agrees on this we can move the clip handling into
> drm_atomic_helper_check_plane_state().
> 
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Shawn Guo <shawnguo at kernel.org>

Acked-by: Shawn Guo <shawnguo at kernel.org>

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


More information about the Intel-gfx mailing list