linux-4.6-rc2/drivers/gpu/drm/radeon/si_dpm.c: multiple problems ?

2016-04-05 Thread Alex Deucher
On Mon, Apr 4, 2016 at 3:24 AM, David Binderman wrote: > Hello there, > > 1. > > linux-4.6-rc2/drivers/gpu/drm/radeon/si_dpm.c:3788]: (style) Condition > 'td==0' is always true > > Source code is > > enum r600_td td = R600_TD_DFLT; > > for (i = 0; i < R600_PM_NUMBER_OF_TC; i++) >

linux-4.6-rc2/drivers/gpu/drm/radeon/si_dpm.c: multiple problems ?

2016-04-04 Thread David Binderman
Hello there, 1. linux-4.6-rc2/drivers/gpu/drm/radeon/si_dpm.c:3788]: (style) Condition 'td==0' is always true Source code is     enum r600_td td = R600_TD_DFLT;     for (i = 0; i < R600_PM_NUMBER_OF_TC; i++)         WREG32(CG_FFCT_0 + (i * 4), (UTC_0(r600_utc[i]) | DTC_0(r600_dt