[Intel-gfx] [PATCH v2 0/4] drm/rect: Bugfixes and selftests

Ville Syrjala ville.syrjala at linux.intel.com
Fri Nov 22 17:56:19 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

My earlier fixes for drm_rect + div-by-zero fix + some
selftests that Daniel requested.

Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Benjamin Gaignard <benjamin.gaignard at st.com>
Cc: Daniel Vetter <daniel at 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

-- 
2.23.0



More information about the Intel-gfx mailing list