drm/sprd: fix build errors
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 11 Jan 2016 02:57:17 +0000 (11:57 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:23 +0000 (10:29 +0900)
This fixes build errors made by backporting patchse to solve dma-buf
issue.

Change-Id: I855c8a98a8b6d1ea9119a51c5249ee470052d076
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/drm/sprd/sprd_drm_drv.c

index 5c0c9bd..b51851f 100644 (file)
@@ -72,11 +72,11 @@ static int sprd_drm_gem_one_info(int id, void *ptr, void *data)
                                file_priv->tgid,
                                id,
                                atomic_read(&obj->refcount.refcount) - 1,
-                               atomic_read(&obj->handle_count),
+                               obj->handle_count,
                                sprd_gem->size,
                                sprd_gem->flags,
                                buf->pfnmap,
-                               obj->export_dma_buf ? 1 : 0,
+                               obj->dma_buf ? 1 : 0,
                                obj->import_attach ? 1 : 0,
                                obj,
                                obj->name);