]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx7: Reduce linecount in table init
authorTom St Denis <tom.stdenis@amd.com>
Mon, 8 Feb 2016 14:55:13 +0000 (09:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Feb 2016 20:27:34 +0000 (15:27 -0500)
commitdcc186c74aca4aa7e372dcaa0d65f7e8792fad8b
tree05bcec1556f5abdc251827dc5cd7b006ecd5098e
parenta9659b6a58fe5c024c45e2a8d9ccd3100df166b1
drm/amdgpu/gfx7: Reduce linecount in table init

Replaces switch statements with direct assignments to
reduce line count significantly.

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