linux/drivers/gpu/drm/amd/display
Daniel Vetter 178b0013f0 drm/amdgpu/dc: Stop dma_resv_lock inversion in commit_tail
Trying to grab dma_resv_lock while in commit_tail before we've done
all the code that leads to the eventual signalling of the vblank event
(which can be a dma_fence) is deadlock-y. Don't do that.

Here the solution is easy because just grabbing locks to read
something races anyway. We don't need to bother, READ_ONCE is
equivalent. And avoids the locking issue.

v2: Also take into account tmz_surface boolean, plus just delete the
old code.

Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Cc: linux-rdma@vger.kernel.org
Cc: amd-gfx@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-30 15:36:44 -04:00
..
amdgpu_dm drm/amdgpu/dc: Stop dma_resv_lock inversion in commit_tail 2020-07-30 15:36:44 -04:00
dc drm/amd/display: Fix DP Compliance tests 4.3.2.1 and 4.3.2.2 2020-07-30 14:14:00 -04:00
dmub drm/amd/display: [FW Promotion] Release 0.0.26 2020-07-30 14:13:20 -04:00
include drm/amd/display: add asics info for SI parts 2020-07-27 16:45:44 -04:00
modules drm/amd/display: Allow asic specific FSFT timing optimization 2020-07-30 14:13:04 -04:00
Kconfig drm/amd/display: enable SI support in the Kconfig (v2) 2020-07-28 09:22:57 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO