]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: explicitly disable psr_feature_enable appropriately
authorShirish S <shirish.s@amd.com>
Fri, 7 Oct 2022 15:01:49 +0000 (20:31 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Oct 2022 21:09:30 +0000 (17:09 -0400)
commited30d880bf8cfc83ff44f2da3f5bfc0e34988c1b
tree4d14e0ba9c5b5d5e4ea767485f929c21b855affe
parent78c22a42cb01954b3e70281899acaad0426bcbfd
drm/amd/display: explicitly disable psr_feature_enable appropriately

[Why]
If psr_feature_enable is set to true by default, it continues to be enabled
for non capable links.

[How]
explicitly disable the feature on links that are not capable of the same.

Fixes: 24e5462654382 ("drm/amd/display: Enable PSR")
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.15+
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c