projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dda8d0
)
drm/ast: remove unused driver_private access
author
David Herrmann
<dh.herrmann@gmail.com>
Wed, 14 Aug 2013 13:07:14 +0000
(15:07 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 18 Aug 2013 23:34:30 +0000
(09:34 +1000)
gem_bo->driver_private is never read by ast nor DRM core. No need to set
it. Besides, drm core clears it during setup, anyway.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_ttm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/ast/ast_ttm.c
b/drivers/gpu/drm/ast/ast_ttm.c
index 98d670825a1a115a43fd5c6d49bd494ce839c94b..cf1c833f73cae65ced08fa3ee26e425e582b6f8e 100644
(file)
--- a/
drivers/gpu/drm/ast/ast_ttm.c
+++ b/
drivers/gpu/drm/ast/ast_ttm.c
@@
-321,7
+321,6
@@
int ast_bo_create(struct drm_device *dev, int size, int align,
return ret;
}
- astbo->gem.driver_private = NULL;
astbo->bo.bdev = &ast->ttm.bdev;
ast_ttm_placement(astbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);