drm/amd/display: Check for PSR in no memory request case
authorSamson Tam <Samson.Tam@amd.com>
Tue, 29 Nov 2022 23:12:33 +0000 (18:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Dec 2022 17:18:19 +0000 (12:18 -0500)
commit46604a08c1adb44e57822304902fd23416d33739
tree30b9d62fb033c855105fcbb29ed12da44e6d90d2
parentbad3a066a4ee3c5b81827756e118753dc2f9afcf
drm/amd/display: Check for PSR in no memory request case

[Why]
When we have a PSR display, we will not be requesting data from memory anymore.
So we report back true for no memory request case.

[How]
Check for PSR by checking PSR version in link settings

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c