summaryrefslogtreecommitdiff
path: root/drivers/firmware/memmap.c
diff options
context:
space:
mode:
authorLeo Li <sunpeng.li@amd.com>2019-03-20 09:52:14 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-04-10 13:53:28 -0500
commitc7e557ab46a7395fd28936c24e12e06f1841279c (patch)
treea056f7756d0fbdad0be63957f5727b2d84e6ae8a /drivers/firmware/memmap.c
parent113b7a010872117e90b16a3e411558db5cb5979e (diff)
downloadlinux-c7e557ab46a7395fd28936c24e12e06f1841279c.tar.gz
linux-c7e557ab46a7395fd28936c24e12e06f1841279c.tar.bz2
linux-c7e557ab46a7395fd28936c24e12e06f1841279c.zip
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> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/firmware/memmap.c')
0 files changed, 0 insertions, 0 deletions