OSDN Git Service

drm/amd/display: Remove flag check in mpcc update
authorNoah Abradjian <noah.abradjian@amd.com>
Wed, 13 Nov 2019 18:55:53 +0000 (13:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:31:03 +0000 (16:31 -0500)
commit9a35b016b99fb39891102c17e65f0b63d1d90d94
tree510647d7f7e9bfb6fb7b1d24fe33fa897684be25
parente0600a94343cc772b33705015cb8c05bac32bccb
drm/amd/display: Remove flag check in mpcc update

[Why]
MPCC programming was being missed during certain split pipe enables due
to full_update flag not being true. This caused a momentary flash on
half the screen. After discussion, determined we should not have that
flag check within update_mpcc, as it should always perform full
programming when called.

[How]
Remove flag check. We call update_blending within insert_plane, so we
do not need to replace its call from the if block.

Signed-off-by: Noah Abradjian <noah.abradjian@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c