summaryrefslogtreecommitdiff
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-06-19 11:16:56 +0200
committerAlex Deucher <alexander.deucher@amd.com>2018-06-19 13:17:39 -0500
commita21daa88d4f08c959a36ad9760df045407a080e5 (patch)
tree7b51fee0a3326c49df4847da6df95cbb0c930fd1 /Documentation/gpu
parent761f58e0e91334983cce60637adfbf7492aa97b3 (diff)
drm/amdgpu: Use correct enum to set powergating state
Use enum amd_powergating_state instead of enum amd_clockgating_state. The underlying value stays the same, so there is no functional change in practise. This fixes a warning seen with clang: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1930:14: warning: implicit conversion from enumeration type 'enum amd_clockgating_state' to different enumeration type 'enum amd_powergating_state' [-Wenum-conversion] AMD_CG_STATE_UNGATE); ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions