drm/amd/display: Refine update flags usage in update_dchubp_dpp
authorAndrew Jiang <Andrew.Jiang@amd.com>
Tue, 21 Nov 2017 20:59:42 +0000 (15:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:54:31 +0000 (10:54 -0500)
commit16a29dd3bb18ea23d9676e6a3b1c6464dba620c3
tree41a0c3a1b62dd73fb84f00b3c406395b6a18adc0
parentea783c31e270dbdd82d5b9d40de4e6336e92e5b2
drm/amd/display: Refine update flags usage in update_dchubp_dpp

- Only update DPP clock if it's a full update.
- Program viewport on position change. This caused SLS regressions.

Signed-off-by: Andrew Jiang <Andrew.Jiang@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>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c