OSDN Git Service

drm/amd/display: Do not set optimized_require to false after plane disable
authorSung Lee <sung.lee@amd.com>
Wed, 15 Jan 2020 16:55:06 +0000 (11:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Feb 2020 17:12:31 +0000 (12:12 -0500)
commitdf36f6cf23ada812930afa8ee76681d4ad307c61
tree44bfe7faac10c7519c0e2f65de309433af4cbafc
parent7aa62404dfdefd759e6a5f8923a0b0704729295f
drm/amd/display: Do not set optimized_require to false after plane disable

[WHY]
The optimized_require flag is needed to set watermarks and clocks lower
in certain conditions. This flag is set to true and then set to false
while programming front end in dcn20.

[HOW]
Do not set the flag to false while disabling plane.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c