OSDN Git Service

drm/amdgpu/gfx7: LOC reduction in gfx_v7_0_setup_rb
authorTom St Denis <tom.stdenis@amd.com>
Mon, 8 Feb 2016 17:34:19 +0000 (12:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Feb 2016 20:29:47 +0000 (15:29 -0500)
commit6d1d6831814418b1348db83c1d90042a3b017efe
tree00e11807f676489ba458c3910aee392952193712
parentd3a7207bdbf5daeee962b376b807cab6778d0cbc
drm/amdgpu/gfx7: LOC reduction in gfx_v7_0_setup_rb

Reduce for loop with bitmask to simple complement and mask

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c