summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2020-01-21 13:20:55 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2020-01-21 13:21:29 +0900
commit47c034a5716b3c1ed63de216ef58d4f94a44846b (patch)
treecca451200ca395b8160beeba2db21723ea725260
parentacec9a12b2f44a535911b6ac79e3752d7790fe79 (diff)
downloadlinux-artik7-47c034a5716b3c1ed63de216ef58d4f94a44846b.tar.gz
linux-artik7-47c034a5716b3c1ed63de216ef58d4f94a44846b.tar.bz2
linux-artik7-47c034a5716b3c1ed63de216ef58d4f94a44846b.zip
drm/nexell: Add nx gem flags for DRM_NX_GEM_GET ioctlsubmit/tizen/20200121.011335accepted/tizen/unified/20200121.121352
From the struct element comment for DRM_NX_GEM_GET, the driver should fill struct nx_gem_info::flags but it did not. Add nx gem flags for DRM_NX_GEM_GET ioctl as its description. Change-Id: If2c1a72077b4ab85786f2c71b0c27502bd86e4b1 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/gpu/drm/nexell/nx_drm_gem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nexell/nx_drm_gem.c b/drivers/gpu/drm/nexell/nx_drm_gem.c
index 6f3452af196b..69281efcc439 100644
--- a/drivers/gpu/drm/nexell/nx_drm_gem.c
+++ b/drivers/gpu/drm/nexell/nx_drm_gem.c
@@ -1691,6 +1691,7 @@ int nx_drm_gem_get_ioctl(struct drm_device *drm, void *data,
nx_obj = to_nx_gem_obj(obj);
args->size = obj->size;
+ args->flags = nx_obj->flags;
drm_gem_object_unreference(obj);
mutex_unlock(&drm->struct_mutex);