]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't always set pstate true if dummy latency = 0
authorAlvin Lee <alvin.lee2@amd.com>
Thu, 12 Dec 2019 21:23:24 +0000 (16:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:11:32 +0000 (14:11 -0500)
commit07ba324f1266160733bc6d08d0ccb9c4e6f791d8
tree2148a74cced089fd2d3d2ac641c483bd284ccf05
parent3e7653c40290c14d297ba3faf1e5d4315f54be93
drm/amd/display: Don't always set pstate true if dummy latency = 0

[Why]
If dummy pstate latency is 0 we should report the actual
pstate support, and not that pstate is always supported.

[How]
Don't always program pstate support true

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c