diff options
author | Huisong Li <[email protected]> | 2022-11-12 10:05:27 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-11-23 19:06:56 +0100 |
commit | a10b1c99e2dccee69838b512419843c21b2b87f8 (patch) | |
tree | bd0e527479912ad9856c9367acd8daaabf52ab07 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | 8338b74a750c534c223e8943cc0ed0e198ece261 (diff) |
ACPI: PCC: Setup PCC Opregion handler only if platform interrupt is available
Currently, PCC OpRegion handler depends on the availability of platform
interrupt to be functional currently. If it is not available, the OpRegion
can't be executed successfully or the desired outcome won't be possible.
So let's reject setting up the PCC OpRegion handler on the platform if
it doesn't support or have platform interrupt available.
Signed-off-by: Huisong Li <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions