anv: Increase ANV_MAX_QUEUE_FAMILIES

If ANV_VIDEO_DECODE, ANV_VIDEO_DECODE and INTEL_COPY_CLASS are enabled
it is possible to have 5 different queues, so here increasing
ANV_MAX_QUEUE_FAMILIES.

Fixes: 17b8b2cffd ("anv: Add support for a transfer queue on Alchemist")
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26882>
This commit is contained in:
José Roberto de Souza 2024-01-03 07:54:45 -08:00 committed by Marge Bot
parent 0c42c79edf
commit 0997766069
2 changed files with 2 additions and 2 deletions

View file

@ -2089,7 +2089,7 @@ anv_physical_device_init_queue_families(struct anv_physical_device *pdevice)
/* Increase count below when other families are added as a reminder to
* increase the ANV_MAX_QUEUE_FAMILIES value.
*/
STATIC_ASSERT(ANV_MAX_QUEUE_FAMILIES >= 4);
STATIC_ASSERT(ANV_MAX_QUEUE_FAMILIES >= 5);
} else {
/* Default to a single render queue */
pdevice->queue.families[family_count++] = (struct anv_queue_family) {

View file

@ -906,7 +906,7 @@ struct anv_queue_family {
enum intel_engine_class engine_class;
};
#define ANV_MAX_QUEUE_FAMILIES 4
#define ANV_MAX_QUEUE_FAMILIES 5
struct anv_memory_type {
/* Standard bits passed on to the client */