diff options
| author | Christian König <[email protected]> | 2017-08-17 10:23:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-08-18 16:02:58 +0000 |
| commit | df9bcb0652bbfde1b37bda98f0ad1fa7fda46d67 (patch) | |
| tree | 5a6d38c2f959042a97db1ecf2ba9cb4719b14522 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: fix vega10 graphic hang issue in S3 test (diff) | |
| download | kernel-df9bcb0652bbfde1b37bda98f0ad1fa7fda46d67.tar.gz kernel-df9bcb0652bbfde1b37bda98f0ad1fa7fda46d67.zip | |
drm/ttm: use reservation_object_trylock in ttm_bo_individualize_resv v2
Fixes a false positive from might_sleep(). The reservation object is freshly
initialized, so nobody else can hold the mutex but the function is
called from atomic context.
v2: Correctly invert the check as well.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
