diff options
author | Evan Quan <evan.quan@amd.com> | 2022-05-24 16:15:06 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-08 11:43:12 -0400 |
commit | 1b3aa89550a2ce4f4af41e11162c5cc0b0b07b4f (patch) | |
tree | b01291ee7124f0025c600217853fee78568de0eb /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 62f8f5c3bfc2968461b0a74f0e393325bec16c69 (diff) | |
download | linux-1b3aa89550a2ce4f4af41e11162c5cc0b0b07b4f.tar.gz linux-1b3aa89550a2ce4f4af41e11162c5cc0b0b07b4f.tar.bz2 linux-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/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions