Update Addrlib gfx10 files

Update changes to  gfx10 addrlib files from:
https://gitlab.freedesktop.org/mesa/mesa.git

mesa top commit:
4d298673da9b05d826b960eece2e715a6b187330

Change-Id: I6015c827d3e9b1fbde034686432670958f424a1d
Signed-off-by: Chris Freehill <cfreehil@amd.com>


[ROCm/ROCR-Runtime commit: cf4b5e1598]
This commit is contained in:
David Yat Sin
2024-05-23 19:00:19 +00:00
کامیت شده توسط Chris Freehill
والد 36fa572530
کامیت 49748c974b
2فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
@@ -1058,7 +1058,6 @@ ChipFamily Gfx10Lib::HwlConvertChipFamily(
ADDR_ASSERT(!"Unknown chip revision");
}
break;
case FAMILY_RMB:
if (ASICREV_IS_REMBRANDT(chipRevision))
{
@@ -2652,7 +2651,7 @@ BOOL_32 Gfx10Lib::ValidateSwModeParams(
{
if (((swizzleMask & Gfx10Rsrc3dSwModeMask) == 0) ||
(prt && ((swizzleMask & Gfx10Rsrc3dPrtSwModeMask) == 0)) ||
(thin3d && ((swizzleMask & Gfx10Rsrc3dThinSwModeMask) == 0)))
(thin3d && ((swizzleMask & Gfx10Rsrc3dViewAs2dSwModeMask) == 0)))
{
ADDR_ASSERT_ALWAYS();
valid = FALSE;
@@ -2969,7 +2968,8 @@ ADDR_E_RETURNCODE Gfx10Lib::HwlGetPreferredSurfaceSetting(
if (pIn->flags.view3dAs2dArray)
{
allowedSwModeSet.value &= Gfx10Rsrc3dThinSwModeMask;
// SW_LINEAR can be used for 3D thin images, including BCn image format.
allowedSwModeSet.value &= Gfx10Rsrc3dViewAs2dSwModeMask;
}
break;