[PATCH] Use signed location for drmModeSetPlane

2014-05-01 Thread Ville Syrjälä
On Thu, May 01, 2014 at 07:56:43PM +0800, Daniel Kurtz wrote: > DRM_IOCTL_MODE_SETPLANE crtc_x, crtc_y are s32. > This is to allow a destination location that is partially off screen. > > Make this more obvious to users of libdrm by using signed crtc_x/_y > parameters for drmModeSetPlane() as well

[PATCH] Use signed location for drmModeSetPlane

2014-05-01 Thread Daniel Kurtz
DRM_IOCTL_MODE_SETPLANE crtc_x, crtc_y are s32. This is to allow a destination location that is partially off screen. Make this more obvious to users of libdrm by using signed crtc_x/_y parameters for drmModeSetPlane() as well. Signed-off-by: Daniel Kurtz --- xf86drmMode.c | 2 +- xf86drmMode.h