drm/amd/display: wait for fence without holding reservation lock
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Tue, 2 Apr 2019 14:28:13 +0000 (16:28 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Apr 2019 17:09:26 +0000 (12:09 -0500)
commit2fac0f53fe5921264c525a0439ee9baf0fe9ada1
tree48924978ac445e70577ec0107dbb2085e477a93b
parent77e7f82985fd205c66b49fdbf4271e389d8506cc
drm/amd/display: wait for fence without holding reservation lock

Don't block others while waiting for the fences to finish, concurrent
submission is perfectly valid in this case and holding the lock can
prevent killed applications from terminating.

Signed-off-by: Christian König <ckoenig.leichtzumerken@gmail.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c