linux_dsm_epyc7002/drivers/gpu/drm/amd
Daniel Vetter 1d2ac403ae drm: Protect dev->filelist with its own mutex
amdgpu gained dev->struct_mutex usage, and that's because it's walking
the dev->filelist list. Protect that list with it's own lock to take
one more step towards getting rid of struct_mutex usage in drivers
once and for all.

While doing the conversion I noticed that 2 debugfs files in i915
completely lacked appropriate locking. Fix that up too.

v2: don't forget to switch to drm_gem_object_unreference_unlocked.

Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461691808-12414-9-git-send-email-daniel.vetter@ffwll.ch
2016-04-27 10:16:17 +02:00
..
acp drm/amd: Beef up ACP Kconfig menu text 2016-03-25 10:20:16 -04:00
amdgpu drm: Protect dev->filelist with its own mutex 2016-04-27 10:16:17 +02:00
amdkfd drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type 2016-03-22 15:36:02 -07:00
include drm/amdgpu: add an cgs interface to notify amdgpu the dpm state. 2016-04-01 10:08:27 -04:00
powerplay drm/amd/powerplay: add uvd/vce dpm enabling flag default. 2016-04-04 17:05:54 -04:00
scheduler drm/amdgpu: RCU protected amd_sched_fence_release 2016-03-16 17:59:01 -04:00