mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
anv: Use correct engine class for companion RCS
Fixes: 6f138fe723 ("anv: avoid null pointer access in utrace copies on CCS")
Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38247>
This commit is contained in:
parent
17d8a5d8ae
commit
43d98a3f1a
1 changed files with 3 additions and 1 deletions
|
|
@ -1712,7 +1712,9 @@ anv_async_submit_init(struct anv_async_submit *submit,
|
|||
.relocs = &submit->relocs,
|
||||
.user_data = submit,
|
||||
.extend_cb = anv_async_submit_extend_batch,
|
||||
.engine_class = queue->family->engine_class,
|
||||
.engine_class = use_companion_rcs ?
|
||||
INTEL_ENGINE_CLASS_RENDER :
|
||||
queue->family->engine_class,
|
||||
};
|
||||
|
||||
submit->batch_bos = UTIL_DYNARRAY_INIT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue