linux_dsm_epyc7002/drivers/gpu/drm/amd
Leo Li 4e0cbbbfbc drm/amd/display: Clean up locking in dcn*_apply_ctx_for_surface()
[Why]

dcn*_disable_plane() doesn't unlock the pipe anymore, making the extra
lock unnecessary.

In addition - during full plane updates - all necessary pipes should be
locked/unlocked together when modifying hubp to avoid tearing in
pipesplit setups.

[How]

Remove redundant locks, and add function to lock all pipes. If an
interdependent pipe update is required, lock down all pipes. Otherwise,
lock only the top pipe for the updated pipe tree.

Signed-off-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-22 09:34:08 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: Enable DC support for Navi10 2019-06-22 09:34:07 -05:00
amdkfd drm/amdkfd: Add navi10 support to amdkfd. (v3) 2019-06-21 18:59:24 -05:00
display drm/amd/display: Clean up locking in dcn*_apply_ctx_for_surface() 2019-06-22 09:34:08 -05:00
include drm/amdgpu/mes10.1: add ip block mes10.1 (v2) 2019-06-21 18:58:22 -05:00
powerplay drm/amd/powerplay: add interface to get uclk dpm table 2019-06-22 09:34:06 -05:00