Re: [PATCH] amdgpu/dc: Add missing cast in dce_clock_set_min_clocks_state()

2018-02-09 Thread Matthias Kaehlcke
El Fri, Feb 09, 2018 at 04:55:57PM -0500 Harry Wentland ha dit: > On 2018-02-09 04:28 PM, Matthias Kaehlcke wrote: > > dce_clock_set_min_clocks_state() assigns (intentionally) a value of type > > 'enum dm_pp_clocks_state' to a variable of type 'enum dm_pp_power_level' > > without an explicit

Re: [PATCH] amdgpu/dc: Add missing cast in dce_clock_set_min_clocks_state()

2018-02-09 Thread Matthias Kaehlcke
El Fri, Feb 09, 2018 at 04:55:57PM -0500 Harry Wentland ha dit: > On 2018-02-09 04:28 PM, Matthias Kaehlcke wrote: > > dce_clock_set_min_clocks_state() assigns (intentionally) a value of type > > 'enum dm_pp_clocks_state' to a variable of type 'enum dm_pp_power_level' > > without an explicit

Re: [PATCH] amdgpu/dc: Add missing cast in dce_clock_set_min_clocks_state()

2018-02-09 Thread Harry Wentland
On 2018-02-09 04:28 PM, Matthias Kaehlcke wrote: > dce_clock_set_min_clocks_state() assigns (intentionally) a value of type > 'enum dm_pp_clocks_state' to a variable of type 'enum dm_pp_power_level' > without an explicit cast. This causes clang to raise the following > warning: > >

Re: [PATCH] amdgpu/dc: Add missing cast in dce_clock_set_min_clocks_state()

2018-02-09 Thread Harry Wentland
On 2018-02-09 04:28 PM, Matthias Kaehlcke wrote: > dce_clock_set_min_clocks_state() assigns (intentionally) a value of type > 'enum dm_pp_clocks_state' to a variable of type 'enum dm_pp_power_level' > without an explicit cast. This causes clang to raise the following > warning: > >

[PATCH] amdgpu/dc: Add missing cast in dce_clock_set_min_clocks_state()

2018-02-09 Thread Matthias Kaehlcke
dce_clock_set_min_clocks_state() assigns (intentionally) a value of type 'enum dm_pp_clocks_state' to a variable of type 'enum dm_pp_power_level' without an explicit cast. This causes clang to raise the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clocks.c:308:4: error:

[PATCH] amdgpu/dc: Add missing cast in dce_clock_set_min_clocks_state()

2018-02-09 Thread Matthias Kaehlcke
dce_clock_set_min_clocks_state() assigns (intentionally) a value of type 'enum dm_pp_clocks_state' to a variable of type 'enum dm_pp_power_level' without an explicit cast. This causes clang to raise the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clocks.c:308:4: error: