Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8cbfeb8 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

drm/msm: Move QTI specific ioctls to avoid conflict



To avoid conflicting with upstream changes when upgrading the kernel
version, move QTI specific ioctls to start at command number 0x40.
This provides plenty of space for the upstream ioctl list to grown
before there are conflicts.

Change-Id: Ic0dedbadad9d3a24467f3d5992104754e31cd769
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 4ffd6a18
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -263,10 +263,11 @@ struct drm_msm_event_resp {
#define DRM_MSM_GEM_CPU_FINI           0x05
#define DRM_MSM_GEM_SUBMIT             0x06
#define DRM_MSM_WAIT_FENCE             0x07
#define DRM_SDE_WB_CONFIG              0x08
#define DRM_MSM_REGISTER_EVENT         0x09
#define DRM_MSM_DEREGISTER_EVENT       0x0A
#define DRM_MSM_NUM_IOCTLS             0x0B

#define DRM_SDE_WB_CONFIG              0x40
#define DRM_MSM_REGISTER_EVENT         0x41
#define DRM_MSM_DEREGISTER_EVENT       0x42
#define DRM_MSM_NUM_IOCTLS             0x43

/**
 * Currently DRM framework supports only VSYNC event.