Re: [PATCH] drm/amdgpu: Use correct enum to set powergating state

2018-06-19 Thread Alex Deucher
On Tue, Jun 19, 2018 at 5:16 AM, Stefan Agner wrote: > 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: >

[PATCH] drm/amdgpu: Use correct enum to set powergating state

2018-06-19 Thread Stefan Agner
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