[PATCH 0/2] drm: Validate frame buffer pixel format in setcrtc

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Mar 4 16:25:42 PST 2015


Hello,

Not much to be added, everything is in the subject line. The first patch
prepares for the modification by refactoring code, and the second patch
adds the check.

The patches are based on a merge of drm-next and drm-fixes.

Laurent Pinchart (2):
  drm: Share plane pixel format check code between legacy and atomic
  drm: Check in setcrtc if the primary plane supports the fb pixel
    format

 drivers/gpu/drm/drm_atomic.c | 10 ++++------
 drivers/gpu/drm/drm_crtc.c   | 41 +++++++++++++++++++++++++++++++++++------
 include/drm/drm_crtc.h       |  2 ++
 3 files changed, 41 insertions(+), 12 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list