tu: Unconditionally enable GMEM on A7XX

GMEM is at parity with A7XX sysmem in terms of functionality so it's
safe to enable it without any conditions now.

Signed-off-by: Mark Collins <mark@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26461>
This commit is contained in:
Mark Collins 2024-02-16 12:55:37 +00:00 committed by Marge Bot
parent de3dc30a29
commit 1ba6ccc51a

View file

@ -886,10 +886,6 @@ use_sysmem_rendering(struct tu_cmd_buffer *cmd,
if (TU_DEBUG(SYSMEM))
return true;
/* A7XX TODO: Add gmem support */
if (cmd->device->physical_device->info->chip >= 7 && !TU_DEBUG(GMEM))
return true;
/* can't fit attachments into gmem */
if (!cmd->state.tiling->possible)
return true;