From 3bf7a619b6e70ec75d95eb61baa7e1eb662c1b25 Mon Sep 17 00:00:00 2001 From: Patryk Rolkowski Date: Thu, 8 Feb 2024 13:52:37 +0100 Subject: [PATCH 1/2] diagnostic_driver: add MBL PCI ID add Malibou Lake PCI ID Signed-off-by: Patryk Rolkowski --- driver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/driver.c b/driver.c index 96ba8cc..145f2ce 100644 --- a/driver.c +++ b/driver.c @@ -3,7 +3,7 @@ // This file is provided under a dual BSD/GPLv2 license. When using or // redistributing this file, you may do so under either license. // -// Copyright(c) 2019-2023 Intel Corporation. All rights reserved. +// Copyright(c) 2019-2024 Intel Corporation. All rights reserved. // // Author: Marcin Zielinski // @@ -39,6 +39,7 @@ * @PCI_DEVICE_AUDIO_JSL: Jasper Lake * @PCI_DEVICE_AUDIO_ADL: Alder Lake * @PCI_DEVICE_AUDIO_RPL: Raptor Lake + * @PCI_DEVICE_AUDIO_MBL: Malibou Lake * @PCI_DEVICE_AUDIO_MTL: Meteor Lake * @PCI_DEVICE_AUDIO_LNL: Lunar Lake */ @@ -55,6 +56,7 @@ enum pci_device_id_e { PCI_DEVICE_AUDIO_JSL = 0x38C8, PCI_DEVICE_AUDIO_ADL = 0x51c8, PCI_DEVICE_AUDIO_RPL = 0x51ca, + PCI_DEVICE_AUDIO_MBL = 0x51CE, PCI_DEVICE_AUDIO_MTL = 0x7e28, PCI_DEVICE_AUDIO_LNL = 0xA828, }; @@ -75,6 +77,7 @@ static const unsigned int device_ids[] = { PCI_DEVICE_AUDIO_JSL, PCI_DEVICE_AUDIO_ADL, PCI_DEVICE_AUDIO_RPL, + PCI_DEVICE_AUDIO_MBL, PCI_DEVICE_AUDIO_MTL, PCI_DEVICE_AUDIO_LNL, }; From 3bcc0d4df0954cdc01063d41fd6709c82f432d13 Mon Sep 17 00:00:00 2001 From: Patryk Rolkowski Date: Wed, 31 Jul 2024 16:16:40 +0200 Subject: [PATCH 2/2] driver: increase possible max allocation count Increase the maximum allocation count for DMA operations to prevent exceeding the limit when all DMA channels are used simultaneously. Signed-off-by: Patryk Rolkowski --- driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver.h b/driver.h index 751a67b..9af61f7 100644 --- a/driver.h +++ b/driver.h @@ -39,7 +39,7 @@ enum diag_dev_kind_t { /** * MAX_ALLOC_MAPS - Max allocations that can be performed on the driver. */ -#define MAX_ALLOC_MAPS 16 +#define MAX_ALLOC_MAPS 32 /** * struct diag_mem_map_t - Map of allocations performed on the driver.