]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rect: Keep the clipped dst rectangle in place
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Nov 2019 17:56:22 +0000 (19:56 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Nov 2019 11:33:38 +0000 (13:33 +0200)
commitd1d8ded54d923f93b902fdfd46caffd877bd458c
treef40060f8630689343fe1c1d0ac832cbf8010ab20
parent615d274a6c3c7723e9419625cbf4d71bf950a713
drm/rect: Keep the clipped dst rectangle in place

Now that we've constrained the clipped source rectangle such
that it can't have negative dimensions doing the same for the
dst rectangle seems appropriate. Should at least result in
the clipped src and dst rectangles being a bit more consistent
with each other.

Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191122175623.13565-4-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
drivers/gpu/drm/drm_rect.c