Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gma500: fix ioctl confict

Move DRM_GMA_GET_PIPE_FROM_CRTC_ID to 0x08 to avoid confict with
DRM_GMA_GEM_MMAP.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

authored by

Kirill A. Shutemov and committed by
Dave Airlie
699f0b45 670c0444

+1 -1
+1 -1
include/drm/gma_drm.h
··· 83 83 #define DRM_GMA_GAMMA 0x04 /* Set gamma table */ 84 84 #define DRM_GMA_ADB 0x05 /* Get backlight */ 85 85 #define DRM_GMA_DPST_BL 0x06 /* Set backlight */ 86 - #define DRM_GMA_GET_PIPE_FROM_CRTC_ID 0x1 /* CRTC to physical pipe# */ 87 86 #define DRM_GMA_MODE_OPERATION 0x07 /* Mode validation/DC set */ 88 87 #define PSB_MODE_OPERATION_MODE_VALID 0x01 88 + #define DRM_GMA_GET_PIPE_FROM_CRTC_ID 0x08 /* CRTC to physical pipe# */ 89 89 90 90 91 91 #endif