drm/amd/display: Correctly respond in psr enablement interface
authorCamille Cho <Camille.Cho@amd.com>
Fri, 29 May 2020 07:30:32 +0000 (15:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:25 +0000 (01:59 -0400)
commit4074bc3fca9ff4f1b78b8dc71f1f19bc27d1536e
tree4d9e6351b69fb5b9212bc65162acbef315c4ba8b
parentd2e0d8263b7ad40b80bf4d6bf9583c200c17f6ab
drm/amd/display: Correctly respond in psr enablement interface

[Why]
dc_link_set_psr_allow_active() always returns true, even in the case
that PSR is not supported.

[How]
Hook up the return value of dc_link_set_psr_allow_active().

Signed-off-by: Camille Cho <Camille.Cho@amd.com>
Reviewed-by: Josip Pavic <Josip.Pavic@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@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/core/dc_link.c