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

Commit 119a1cea authored by Jordan Crouse's avatar Jordan Crouse Committed by Gerrit - the friendly Code Review server
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 9ba4378c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -279,8 +279,11 @@ struct drm_panel_hdr_properties {
#define DRM_MSM_GEM_SUBMIT             0x06
#define DRM_MSM_WAIT_FENCE             0x07
#define DRM_MSM_GEM_MADVISE            0x08
#define DRM_SDE_WB_CONFIG              0x08
#define DRM_MSM_NUM_IOCTLS             0x09

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

#define DRM_IOCTL_MSM_GET_PARAM        DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GET_PARAM, struct drm_msm_param)
#define DRM_IOCTL_MSM_GEM_NEW          DRM_IOWR(DRM_COMMAND_BASE + DRM_MSM_GEM_NEW, struct drm_msm_gem_new)