diff options
author | Ovidiu Bunea <Ovidiu.Bunea@amd.com> | 2024-10-15 18:20:54 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-28 16:36:53 -0400 |
commit | 558cec793e73e5d22c96c56b1f70c83a8ce4b672 (patch) | |
tree | e3db1a7a49f1b2a92a29521bc41ce0592247f92f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
parent | 1b7ac448cc544f6a4f8543423d9c2b726f3313fd (diff) | |
download | linux-558cec793e73e5d22c96c56b1f70c83a8ce4b672.tar.gz linux-558cec793e73e5d22c96c56b1f70c83a8ce4b672.tar.bz2 linux-558cec793e73e5d22c96c56b1f70c83a8ce4b672.zip |
drm/amd/display: Do not read DSC state if not in use
[why & how]
DSC may be power gated when coming out of S0i3, so avoid polling
DSC registers since it will fail anyways. Only read if it is known
that DSC is in use.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Ovidiu Bunea <Ovidiu.Bunea@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions