Re: [bug report] drm/amdgpu/gfx6: clean up cu configuration

2017-04-03 Thread Dan Carpenter
On Sat, Apr 01, 2017 at 10:43:46AM +0800, Flora Cui wrote: > > 3727 for (i = 0; i < adev->gfx.config.max_shader_engines; i++) { > > 3728 for (j = 0; j < adev->gfx.config.max_sh_per_se; > > j++) { > > 3729 mask = 1; > > 3730

Re: [bug report] drm/amdgpu/gfx6: clean up cu configuration

2017-04-01 Thread Flora Cui
Hi Dan Carpenter, Thank you for the info. This commit is just a clean up to keep align with gfx7/8. On Fri, Mar 31, 2017 at 06:13:25PM +0300, Dan Carpenter wrote: > Hello Flora Cui, > > The patch 375d6f7057a9: "drm/amdgpu/gfx6: clean up cu configuration" > from Feb 7, 2017, leads to the

[bug report] drm/amdgpu/gfx6: clean up cu configuration

2017-03-31 Thread Dan Carpenter
Hello Flora Cui, The patch 375d6f7057a9: "drm/amdgpu/gfx6: clean up cu configuration" from Feb 7, 2017, leads to the following static checker warning: drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c:3737 gfx_v6_0_get_cu_info() warn: potential off by one cu_info->bitmap[4]