Message ID | 20191122175623.13565-1-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
Headers | show |
Series | drm/rect: Bugfixes and selftests | expand |
On 11/22/19 6:56 PM, Ville Syrjala wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > My earlier fixes for drm_rect + div-by-zero fix + some > selftests that Daniel requested. > > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> > Cc: Benjamin Gaignard <benjamin.gaignard@st.com> > Cc: Daniel Vetter <daniel@ffwll.ch> Thanks to have handle this. Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com> > > Ville Syrjälä (4): > drm/rect: Avoid division by zero > drm/rect: Keep the scaled clip bounded > drm/rect: Keep the clipped dst rectangle in place > drm/selftests: Add drm_rect selftests > > drivers/gpu/drm/drm_rect.c | 36 +-- > drivers/gpu/drm/selftests/Makefile | 3 +- > .../gpu/drm/selftests/drm_modeset_selftests.h | 4 + > .../drm/selftests/test-drm_modeset_common.h | 7 + > drivers/gpu/drm/selftests/test-drm_rect.c | 220 ++++++++++++++++++ > include/drm/drm_rect.h | 2 + > 6 files changed, 257 insertions(+), 15 deletions(-) > create mode 100644 drivers/gpu/drm/selftests/test-drm_rect.c >
From: Ville Syrjälä <ville.syrjala@linux.intel.com> My earlier fixes for drm_rect + div-by-zero fix + some selftests that Daniel requested. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Benjamin Gaignard <benjamin.gaignard@st.com> Cc: Daniel Vetter <daniel@ffwll.ch> Ville Syrjälä (4): drm/rect: Avoid division by zero drm/rect: Keep the scaled clip bounded drm/rect: Keep the clipped dst rectangle in place drm/selftests: Add drm_rect selftests drivers/gpu/drm/drm_rect.c | 36 +-- drivers/gpu/drm/selftests/Makefile | 3 +- .../gpu/drm/selftests/drm_modeset_selftests.h | 4 + .../drm/selftests/test-drm_modeset_common.h | 7 + drivers/gpu/drm/selftests/test-drm_rect.c | 220 ++++++++++++++++++ include/drm/drm_rect.h | 2 + 6 files changed, 257 insertions(+), 15 deletions(-) create mode 100644 drivers/gpu/drm/selftests/test-drm_rect.c