Clipping src and crtc rectangles for SetCrtc and SetPlane

2014-12-04 Thread Adam Cheney
Hi dri-devel, I have a question about validating the user specified rectangles in SetCrtc and SetPlane. To me this is required for src_ or crtc_ rectangles to be legal, true for both SetCrtc and SetPlane: 1) src_{x,y,w,h} fits entirely within the fb size 2) crtc_{x,y,w,h} fits enti

Clipping src and crtc rectangles for SetCrtc and SetPlane

2014-12-04 Thread Adam Cheney
> -Original Message- > From: Ville Syrjälä [mailto:ville.syrjala at linux.intel.com] > Sent: Thursday, December 04, 2014 4:05 PM > To: Adam Cheney > Cc: dri-devel at lists.freedesktop.org > Subject: Re: Clipping src and crtc rectangles for SetCrtc and SetPlane > &

[PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines

2014-12-08 Thread Adam Cheney
Update drm_mode.h defines from kernel upstream for connector and encoder types to expose DSI and other newly defined types. Signed-off-by: Adam Cheney mailto:acheney at nvidia.com>> --- include/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/drm/drm_mode.h b/i

[PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines

2014-12-15 Thread Adam Cheney
Ping? From: Adam Cheney Sent: Monday, December 08, 2014 4:26 PM To: 'dri-devel at lists.freedesktop.org' Subject: [PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines Update drm_mode.h defines from kernel upstream for connector and encoder types to expose DSI and other newly def

[PATCH] Add new DRM_MODE_CONNECTOR and _ENCODER defines

2014-12-15 Thread Adam Cheney
Thanks Rob. Does the patch apply now? Update drm_mode.h defines from kernel upstream for connector and encoder types to expose DSI and other newly defined types. Signed-off-by: Adam Cheney --- include/drm/drm_mode.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/drm/drm_mode.h