iris: Check that mem_fence_bo was created
Cc: José Roberto de Souza <jose.souza@intel.com> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:8e8097245f
("iris: Emit STATE_SYSTEM_MEM_FENCE_ADDRESS") Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> (cherry picked from commitadfd7486c2
) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32730>
This commit is contained in:

committed by
Dylan Baker

parent
8e15c99523
commit
bb5927c31f
@@ -2484,8 +2484,8 @@ iris_bufmgr_create(struct intel_device_info *devinfo, int fd, bool bo_reuse)
|
||||
if (devinfo->verx10 >= 200) {
|
||||
bufmgr->mem_fence_bo = iris_bo_alloc(bufmgr, "mem_fence", 4096, 4096,
|
||||
IRIS_MEMZONE_OTHER, BO_ALLOC_SMEM);
|
||||
if (!bufmgr->dummy_aux_bo)
|
||||
goto error_alloc_bo;
|
||||
if (!bufmgr->mem_fence_bo)
|
||||
goto error_alloc_bo;
|
||||
}
|
||||
|
||||
return bufmgr;
|
||||
|
Reference in New Issue
Block a user