drm/msm: bump kernel api version
authorRob Clark <robdclark@gmail.com>
Wed, 1 Jun 2016 18:02:02 +0000 (14:02 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:09:09 +0000 (10:09 -0400)
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c

index f3b8f69ea9ae8b7ba1dacfa7d70cacd253a51d80..9cfa348fd2bb7f18588e22e37612a24e20a6a3c1 100644 (file)
 #include "msm_gpu.h"
 #include "msm_kms.h"
 
+
+/*
+ * MSM driver version:
+ * - 1.0.0 - initial interface
+ * - 1.1.0 - adds madvise, and support for submits with > 4 cmd buffers
+ */
+#define MSM_VERSION_MAJOR      1
+#define MSM_VERSION_MINOR      1
+#define MSM_VERSION_PATCHLEVEL 0
+
 static void msm_fb_output_poll_changed(struct drm_device *dev)
 {
        struct msm_drm_private *priv = dev->dev_private;
@@ -807,8 +817,9 @@ static struct drm_driver msm_driver = {
        .name               = "msm",
        .desc               = "MSM Snapdragon DRM",
        .date               = "20130625",
-       .major              = 1,
-       .minor              = 0,
+       .major              = MSM_VERSION_MAJOR,
+       .minor              = MSM_VERSION_MINOR,
+       .patchlevel         = MSM_VERSION_PATCHLEVEL,
 };
 
 #ifdef CONFIG_PM_SLEEP