diff options
| author | Daniel Vetter <[email protected]> | 2016-06-17 07:33:21 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-06-20 20:02:09 +0000 |
| commit | d2b34ee62b409a03c6fe43c07b779983be51d017 (patch) | |
| tree | 97dd9f33e89b13b410634bca31277fe288fd8f85 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | drm: Move authmagic cleanup into drm_master_release (diff) | |
| download | kernel-d2b34ee62b409a03c6fe43c07b779983be51d017.tar.gz kernel-d2b34ee62b409a03c6fe43c07b779983be51d017.zip | |
drm: Protect authmagic with master_mutex
Simplifies cleanup, and there's no reason drivers should ever care
about authmagic at all - it's all handled in the core.
And with that, Ladies and Gentlemen, it's time to pop the champagen
and celebrate: dev->struct_mutex is now officially gone from modern
drivers, and if a driver is using gem_free_object_unlocked and doesn't
do anything else silly it's positively impossible to ever touch
dev->struct_mutex at runtime, anywhere.
Well except for the mutex_init on driver load ;-)
v2: Rebased.
Cc: Chris Wilson <[email protected]> (v1)
Reviewed-by: Chris Wilson <[email protected]> (v1)
Reviewed-by: Emil Velikov <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
