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>
This commit is contained in:
@@ -2202,6 +2202,11 @@ anv_override_engine_counts(int *gc_count, int *g_count, int *c_count, int *v_cou
|
|||||||
int blit_override = -1;
|
int blit_override = -1;
|
||||||
const char *env_ = os_get_option("ANV_QUEUE_OVERRIDE");
|
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)
|
if (env_ == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user