amd/common: unify PITCH_GFX6 and PITCH_GFX9
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 6 May 2019 23:44:52 +0000 (01:44 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Jun 2019 00:05:20 +0000 (20:05 -0400)
commitcf51009ad26a487243b3404e86c445872ca3ac85
tree6d18cb8ea5e0c053da199ea774761b42de96a068
parente04215815e1710450f8e73c798bf073a6ff0c6d7
amd/common: unify PITCH_GFX6 and PITCH_GFX9

The definition of the fields differs, but PITCH_GFX9 is a mere extension
of PITCH_GFX6 that does not conflict with any other fields.

This aligns the definitions with what will be generated from the
register JSON.

The information about how large the fields really are is preserved in
the register database.
src/amd/common/gfx9d.h
src/amd/common/sid.h
src/amd/vulkan/radv_image.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.c