drm/radeon: refactor CIK tiling table initialization
authorJosh Poimboeuf <jpoimboe@redhat.com>
Fri, 11 Mar 2016 14:18:23 +0000 (08:18 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Mar 2016 17:40:40 +0000 (13:40 -0400)
commitf0e201f2d3852168b5a8e19330bc3f82d7b042b4
tree039def9d47fd73c02d07ac51c1b7f9cc9bfddb0a
parent358c258a816baed4c6997b59c2117578a1360498
drm/radeon: refactor CIK tiling table initialization

Simplify the control flow of cik_tiling_mode_table_init() similar to how
it was done in gfx_v7_0.c and gfx_v8_0.c.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c