From ac168bf2a068761b591187e6a0a52083d456280b Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Fri, 29 Apr 2011 08:53:53 -0700 Subject: libdrm: update drm headers from kernel, including new overlay ioctls & structs Add structs and functions necessary for the new plane and fb handling code, including a new header, drm_fourcc.h, that includes the surface formats supported by various DRM drivers. Signed-off-by: Jesse Barnes --- include/drm/drm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/drm/drm.h') diff --git a/include/drm/drm.h b/include/drm/drm.h index 5fd24fcf..8adb9d59 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -713,6 +713,10 @@ struct drm_get_cap { #define DRM_IOCTL_MODE_CREATE_DUMB DRM_IOWR(0xB2, struct drm_mode_create_dumb) #define DRM_IOCTL_MODE_MAP_DUMB DRM_IOWR(0xB3, struct drm_mode_map_dumb) #define DRM_IOCTL_MODE_DESTROY_DUMB DRM_IOWR(0xB4, struct drm_mode_destroy_dumb) +#define DRM_IOCTL_MODE_GETPLANERESOURCES DRM_IOWR(0xB5, struct drm_mode_get_plane_res) +#define DRM_IOCTL_MODE_GETPLANE DRM_IOWR(0xB6, struct drm_mode_get_plane) +#define DRM_IOCTL_MODE_SETPLANE DRM_IOWR(0xB7, struct drm_mode_set_plane) +#define DRM_IOCTL_MODE_ADDFB2 DRM_IOWR(0xB8, struct drm_mode_fb_cmd2) /** * Device specific ioctls should only be in their respective headers -- cgit v1.2.3