Commit d1912f69 authored by Rob Clark's avatar Rob Clark

drm/msm: Small uabi fixes

Correct the minor version exposed and error return value for
MSM_INFO_GET_NAME.
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/566155/
parent f6afe4f0
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
* - 1.11.0 - Add wait boost (MSM_WAIT_FENCE_BOOST, MSM_PREP_BOOST) * - 1.11.0 - Add wait boost (MSM_WAIT_FENCE_BOOST, MSM_PREP_BOOST)
*/ */
#define MSM_VERSION_MAJOR 1 #define MSM_VERSION_MAJOR 1
#define MSM_VERSION_MINOR 10 #define MSM_VERSION_MINOR 11
#define MSM_VERSION_PATCHLEVEL 0 #define MSM_VERSION_PATCHLEVEL 0
static void msm_deinit_vram(struct drm_device *ddev); static void msm_deinit_vram(struct drm_device *ddev);
...@@ -620,7 +620,7 @@ static int msm_ioctl_gem_info(struct drm_device *dev, void *data, ...@@ -620,7 +620,7 @@ static int msm_ioctl_gem_info(struct drm_device *dev, void *data,
break; break;
case MSM_INFO_GET_NAME: case MSM_INFO_GET_NAME:
if (args->value && (args->len < strlen(msm_obj->name))) { if (args->value && (args->len < strlen(msm_obj->name))) {
ret = -EINVAL; ret = -ETOOSMALL;
break; break;
} }
args->len = strlen(msm_obj->name); args->len = strlen(msm_obj->name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment