[amd/addrlib/gfx10] KWin Wayland session crash
With a 5700 XT KWin Wayland session crashes directly in the beginning.
Tracing back to Gfx10Lib::IsValidDisplaySwizzleMode
the two cases ADDR_SW_4KB_D and ADDR_SW_4KB_D_X are seemingly assigned to the wrong check when comparing it with the Gfx9Lib
equivalent.
Indeed debug output shows that in my case ADDR_SW_4KB_D_X pIn->bpp
equals 32 and not 64. Moving the two cases to the other check allows the Wayland session to start up fully.
Card: Sapphire Radeon RX 5700 XT Nitro+ Kernel: 5.4.2 Mesa branch: master