mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 03:00:24 +01:00
winsys/amdgpu: Set RADEON_FLAG_32BIT again
Avoids hang running
rendercheck -t cacomposite -f a8r8g8b8
via glamor on Navi 14.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7167
Fixes: 7833c5139a ("winsys/amdgpu: use cached GTT for command buffers and don't set the 32BIT flag")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19276>
This commit is contained in:
parent
d50db14023
commit
20b9eece6e
1 changed files with 9 additions and 0 deletions
|
|
@ -740,6 +740,15 @@ static bool amdgpu_ib_new_buffer(struct amdgpu_winsys *ws,
|
|||
enum radeon_bo_domain domain = RADEON_DOMAIN_GTT;
|
||||
unsigned flags = RADEON_FLAG_NO_INTERPROCESS_SHARING;
|
||||
|
||||
if (cs->ip_type == AMD_IP_GFX ||
|
||||
cs->ip_type == AMD_IP_COMPUTE ||
|
||||
cs->ip_type == AMD_IP_SDMA) {
|
||||
/* Avoids hangs with "rendercheck -t cacomposite -f a8r8g8b8" via glamor
|
||||
* on Navi 14
|
||||
*/
|
||||
flags |= RADEON_FLAG_32BIT;
|
||||
}
|
||||
|
||||
pb = amdgpu_bo_create(ws, buffer_size,
|
||||
ws->info.gart_page_size,
|
||||
domain, flags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue