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>
Showing
- drivers/gpu/drm/amd/display/dc/core/dc_stream.c 4 additions, 64 deletionsdrivers/gpu/drm/amd/display/dc/core/dc_stream.c
- drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 40 additions, 0 deletionsdrivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 43 additions, 2 deletionsdrivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
- drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h 3 additions, 0 deletionsdrivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h
Loading
Please register or sign in to comment