diff options
author | 2022-05-24 16:15:06 +0800 | |
---|---|---|
committer | 2022-06-08 11:43:12 -0400 | |
commit | 1b3aa89550a2ce4f4af41e11162c5cc0b0b07b4f (patch) | |
tree | b01291ee7124f0025c600217853fee78568de0eb /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
parent | drm/amdgpu: enable ASPM support for PCIE 7.4.0/7.6.0 (diff) | |
download | linux-rng-1b3aa89550a2ce4f4af41e11162c5cc0b0b07b4f.tar.xz linux-rng-1b3aa89550a2ce4f4af41e11162c5cc0b0b07b4f.zip |
drm/amdgpu: avoid to perform undesired clockgating operation
Make sure the clockgating feature is supported before action.
Otherwise, the feature may be disabled unexpectedly on enablement
request.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
0 files changed, 0 insertions, 0 deletions