mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 21:50:26 +01:00
anv/android: always create 2 graphics and compute capable queues
Android hwui requires 2 queues.
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32279>
(cherry picked from commit 19b6991160)
This commit is contained in:
parent
cd8c4e92cf
commit
428f2bea18
2 changed files with 6 additions and 1 deletions
|
|
@ -644,7 +644,7 @@
|
|||
"description": "anv/android: always create 2 graphics and compute capable queues",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2202,6 +2202,11 @@ anv_override_engine_counts(int *gc_count, int *g_count, int *c_count, int *v_cou
|
|||
int blit_override = -1;
|
||||
const char *env_ = os_get_option("ANV_QUEUE_OVERRIDE");
|
||||
|
||||
/* Override queues for Android HWUI that expects min 2 queues. */
|
||||
#if DETECT_OS_ANDROID
|
||||
*gc_count = 2;
|
||||
#endif
|
||||
|
||||
if (env_ == NULL)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue