mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 06:10:13 +01:00
anv: bump ANV_MAX_QUEUE_FAMILIES
Now it's possible to overflow anv_physical_device.queue.families
and anv_device.decoder.
CID: 1520852
Fixes: 056b0cb87f ("anv: add video engine support in various places")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21278>
This commit is contained in:
parent
a157133380
commit
771f7c1d91
2 changed files with 2 additions and 2 deletions
|
|
@ -769,7 +769,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 >= 3);
|
||||
STATIC_ASSERT(ANV_MAX_QUEUE_FAMILIES >= 4);
|
||||
} else {
|
||||
/* Default to a single render queue */
|
||||
pdevice->queue.families[family_count++] = (struct anv_queue_family) {
|
||||
|
|
|
|||
|
|
@ -874,7 +874,7 @@ struct anv_queue_family {
|
|||
enum intel_engine_class engine_class;
|
||||
};
|
||||
|
||||
#define ANV_MAX_QUEUE_FAMILIES 3
|
||||
#define ANV_MAX_QUEUE_FAMILIES 4
|
||||
|
||||
struct anv_memory_type {
|
||||
/* Standard bits passed on to the client */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue