diff options
author | Eric Yang <Eric.Yang2@amd.com> | 2018-01-19 03:07:54 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-08 00:27:48 +0300 |
commit | 39b485e4dddb9c801616cb6632ea2d4f646780a2 (patch) | |
tree | a6339afa31c8bfcf9c4c37b8446a7536f74319db /security/tomoyo/common.h | |
parent | 43b9d27360cbf51ec4fced5bf00c40cf37bba10d (diff) | |
download | linux-39b485e4dddb9c801616cb6632ea2d4f646780a2.tar.xz |
drm/amd/display: fix cursor related Pstate hang
Move cursor programming to inside the OTG_MASTER_UPDATE_LOCK
If graphics plane go from 1 pipe to hsplit, the cursor updates
after mpc programming and unlock. Which means there is a window
of time where cursor is enabled on the wrong pipe if it's on
the right side of the screen (i.e. case where cursor need to
move from pipe 0 to pipe 3 post split). This will cause pstate hang.
Solution is to program the cursor while still locked.
Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'security/tomoyo/common.h')
0 files changed, 0 insertions, 0 deletions