OSDN Git Service

drm/amd/display: Optimize bandwidth on following fast update
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 19 Aug 2021 20:36:09 +0000 (16:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:57:10 +0000 (15:57 -0400)
commit34316c1e561db0b24e341029f04a5a5bead9a7bc
treef16fedd2b38afb700e8d4f03e90adebabb7a6078
parent2a50edbf10c8c56e930bfb53d8f9f00a33fd837e
drm/amd/display: Optimize bandwidth on following fast update

[Why]
The current call to optimize_bandwidth never occurs because flip is
always pending from the FULL and FAST updates.

[How]
Optimize on the following flip when it's a FAST update and we know we
aren't going to be modifying the clocks again.

Reviewed-by: Bhawanpreet Lakha <bhawanpreet.lakha@amd.com>
Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c