diff options
| author | Daniel Vetter <[email protected]> | 2016-04-26 17:29:35 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-04-27 06:42:26 +0000 |
| commit | 68dfbebab131146b460550cebf8c38667c490a04 (patch) | |
| tree | 3da20430ec621e62c33e8181bf7683c1aff66ddb /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm: Give drm_agp_clear drm_legacy_ prefix (diff) | |
| download | kernel-68dfbebab131146b460550cebf8c38667c490a04.tar.gz kernel-68dfbebab131146b460550cebf8c38667c490a04.zip | |
drm: Put legacy lastclose work into drm_legacy_dev_reinit
Except for the ->lasclose driver callback evrything in drm_lastclose()
is all legacy cruft and can be hidden. Which means another
dev->struct_mutex site disappears entirely for modern drivers!
Also while at it change the return value of drm_lastclose to void
since it will always succeed. No one checks the return value of
close() anyway, ever.
v2: Move misplaced hunk, spotted by 0day.
Cc: Thierry Reding <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
