OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d2e968
)
drm/cirrus: remove unused driver_private access
author
David Herrmann
<dh.herrmann@gmail.com>
Wed, 14 Aug 2013 13:07:16 +0000
(15:07 +0200)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 18 Aug 2013 23:34:38 +0000
(09:34 +1000)
gem_bo->driver_private is never read by cirrus 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/cirrus/cirrus_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/cirrus/cirrus_ttm.c
b/drivers/gpu/drm/cirrus/cirrus_ttm.c
index
0047012
..
bf8a506
100644
(file)
--- a/
drivers/gpu/drm/cirrus/cirrus_ttm.c
+++ b/
drivers/gpu/drm/cirrus/cirrus_ttm.c
@@
-326,7
+326,6
@@
int cirrus_bo_create(struct drm_device *dev, int size, int align,
return ret;
}
- cirrusbo->gem.driver_private = NULL;
cirrusbo->bo.bdev = &cirrus->ttm.bdev;
cirrus_ttm_placement(cirrusbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);