amd/addrlib: add Addr2IsValidDisplaySwizzleMode
authorMarek Olšák <marek.olsak@amd.com>
Mon, 9 Oct 2017 16:31:12 +0000 (18:31 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Oct 2017 17:03:33 +0000 (19:03 +0200)
commitc3f3685fd655550bb189aac814126e5feb56db2b
tree25bd0a99008f30d778954fe1d99f8308bcd4159c
parent1233d32d2ac04bb9b902728d8e0a606daab862cd
amd/addrlib: add Addr2IsValidDisplaySwizzleMode

Some "standard" (_S) swizzle modes are displayable on Raven,
even though the micro tile mode says it's not displayable.
Expose the addrlib function to the driver.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/addrlib/addrinterface.cpp
src/amd/addrlib/addrinterface.h
src/amd/addrlib/core/addrlib2.h
src/amd/addrlib/gfx9/gfx9addrlib.h