aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAlvin Lee <[email protected]>2020-07-22 00:32:14 -0400
committerAlex Deucher <[email protected]>2020-08-04 17:29:28 -0400
commit4453fbec106b5ab69389bf48a27af228a8434b97 (patch)
treeee3147d075d0ffb0d876d797efa70f4ac6ae7dcf /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent3d4e52d0cf24b424c668fa8ab1269725796d4ec4 (diff)
drm/amd/display: Separate pipe disconnect from rest of progrmaming
[Why] When changing pixel formats for HDR (e.g. ARGB -> FP16) there are configurations that change from 2 pipes to 1 pipe. In these cases, it seems that disconnecting MPCC and doing a surface update at the same time(after unlocking) causes some registers to be updated slightly faster than others after unlocking (e.g. if the pixel format is updated to FP16 before the new surface address is programmed, we get corruption on the screen because the pixel formats aren't matching). We separate disconnecting MPCC from the rest of the pipe programming sequence to prevent this. [How] Move MPCC disconnect into separate operation than the rest of the pipe programming. Signed-off-by: Alvin Lee <[email protected]> Reviewed-by: Jun Lei <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions