X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fdrm%2Fdrm_mode.h;h=8f4ae681cdc11d986d0b02ed4b18816d2d835299;hb=9f249188a2927b7809ed790e4b568ea82039d919;hp=ddd46db65b57257164f13d703186bb7da5e7bb3a;hpb=9c3973966fdd3f235466195189eca362557ef098;p=pandora-kernel.git diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index ddd46db65b57..8f4ae681cdc1 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -184,6 +184,8 @@ struct drm_mode_get_connector { __u32 connection; __u32 mm_width, mm_height; /**< HxW in millimeters */ __u32 subpixel; + + __u32 pad; }; #define DRM_MODE_PROP_PENDING (1<<0) @@ -277,8 +279,9 @@ struct drm_mode_mode_cmd { struct drm_mode_modeinfo mode; }; -#define DRM_MODE_CURSOR_BO (1<<0) -#define DRM_MODE_CURSOR_MOVE (1<<1) +#define DRM_MODE_CURSOR_BO 0x01 +#define DRM_MODE_CURSOR_MOVE 0x02 +#define DRM_MODE_CURSOR_FLAGS 0x03 /* * depending on the value in flags different members are used.