Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MBL HW ID and increase max allocation count #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>
//
Expand Down Expand Up @@ -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
*/
Expand All @@ -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,
};
Expand All @@ -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,
};
Expand Down
2 changes: 1 addition & 1 deletion driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down