drm/imx: ipuv3-plane: use drm_plane_helper_check_state, clipped coordinates
Use drm_plane_helper_check_state to clip raw user coordinates to crtc bounds. This checks for full plane coverage and scaling already, so we can drop some custom checks. Use the clipped coordinates everywhere. Suggested-by: NVille Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
Showing
想要评论请 注册 或 登录