projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac851bf
)
drm/sti: Use lockless gem BO free callback
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 30 May 2016 17:53:11 +0000
(19:53 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 1 Jun 2016 07:41:37 +0000
(09:41 +0200)
With Benjanim's patch to remove the dev->struct_mutex cargo cult the
sti driver is now also entirely legacy locking free. Let's convert it
too.
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-20-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/sti/sti_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/sti/sti_drv.c
b/drivers/gpu/drm/sti/sti_drv.c
index 1b8dd9e7829d9f8877faf6dc12ccb9b8ccbcf048..b440617a7019c676006a73d426feadb2ed9f8f87 100644
(file)
--- a/
drivers/gpu/drm/sti/sti_drv.c
+++ b/
drivers/gpu/drm/sti/sti_drv.c
@@
-304,7
+304,7
@@
static struct drm_driver sti_driver = {
.driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET |
DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC,
.load = sti_load,
- .gem_free_object = drm_gem_cma_free_object,
+ .gem_free_object
_unlocked
= drm_gem_cma_free_object,
.gem_vm_ops = &drm_gem_cma_vm_ops,
.dumb_create = drm_gem_cma_dumb_create,
.dumb_map_offset = drm_gem_cma_dumb_map_offset,