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> (cherry picked from commit0997766069
)
This commit is contained in:

committed by
Eric Engestrom

parent
08f688d236
commit
635d1b7d69
@@ -154,7 +154,7 @@
|
||||
"description": "anv: Increase ANV_MAX_QUEUE_FAMILIES",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "17b8b2cffdb07eaf06a309fabcd933886f6e7070",
|
||||
"notes": null
|
||||
|
@@ -1216,7 +1216,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) {
|
||||
|
@@ -805,7 +805,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 */
|
||||
|
Reference in New Issue
Block a user