OSDN Git Service

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)
commit840a20d31bbe366b4ff422e2320a9a12a5efc0b3
tree05bcec1556f5abdc251827dc5cd7b006ecd5098e
parentfa9e699105ba4c29e34954fab693b1fc19d70084
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