mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
amd/addrlib: remove the DCC page fault workaround
It doesn't cause page faults anymore. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34099>
This commit is contained in:
parent
f0e6d86f4e
commit
5e02621a8a
1 changed files with 0 additions and 11 deletions
|
|
@ -1033,17 +1033,6 @@ UINT_32 Gfx11Lib::GetMetaBlkSize(
|
|||
// For htile surfaces, pad meta block size to 2K * num_pipes
|
||||
metablkSizeLog2 = Max(metablkSizeLog2, 11 + numPipesLog2);
|
||||
}
|
||||
|
||||
/* This chunk is not part of upstream addrlib. See !28268 */
|
||||
const INT_32 compFragLog2 = numSamplesLog2;
|
||||
|
||||
if (IsRtOptSwizzle(swizzleMode) && (compFragLog2 > 1) && (pipeRotateLog2 >= 1))
|
||||
{
|
||||
const INT_32 tmp = 8 + m_pipesLog2 + Max(pipeRotateLog2, compFragLog2 - 1);
|
||||
|
||||
metablkSizeLog2 = Max(metablkSizeLog2, tmp);
|
||||
}
|
||||
/* End of the non-upstream chunk. */
|
||||
}
|
||||
|
||||
const INT_32 metablkBitsLog2 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue