summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-04-08 17:37:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-04-29 22:58:16 +0300
commit8ad278062de4eae53f68ec835c20147efcec81a8 (patch)
tree8cc37da67b0c0cfd1ac532c4ed1b215f47c4c075 /net/lapb/lapb_timer.c
parentd6ef9b4175e870b52468fed4fd77b0d3d54e20fc (diff)
downloadlinux-8ad278062de4eae53f68ec835c20147efcec81a8.tar.xz
drm/amd/display: Disable cursors before disabling planes
[Why] We can't do cursor programming after the planes have been disabled since there won't be any pipes - leading to lock warnings and the wrong cursor state being left in the registers. When we re-enable the planes after the previous cursor state will also remain if we don't have a cursor plane. [How] If we're disabling the planes then do the cursor programming first. If we're not disabling the planes then do the cursor programming after. Introduce the amdgpu_dm_commit_cursors helper to avoid code duplication for both of these cases. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: David Francis <David.Francis@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions