Skip to content

Commit 5111d26

Browse files
IcenowyRevySR
authored andcommitted
RISCV64: SG2042: HACK: nvidia hda: force msi
Signed-off-by: Icenowy Zheng <[email protected]> Signed-off-by: Han Gao <[email protected]>
1 parent 2326c94 commit 5111d26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sound/pci/hda/hda_intel.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,15 @@ enum {
322322
AZX_DCAPS_RETRY_PROBE)
323323

324324
/* quirks for Nvidia */
325+
#if defined(CONFIG_PCIE_SG2042_HACK)
326+
#define AZX_DCAPS_PRESET_NVIDIA \
327+
(AZX_DCAPS_CORBRP_SELF_CLEAR |\
328+
AZX_DCAPS_SNOOP_TYPE(NVIDIA))
329+
#else
325330
#define AZX_DCAPS_PRESET_NVIDIA \
326331
(AZX_DCAPS_NO_MSI | AZX_DCAPS_CORBRP_SELF_CLEAR |\
327332
AZX_DCAPS_SNOOP_TYPE(NVIDIA))
333+
#endif
328334

329335
#define AZX_DCAPS_PRESET_CTHDA \
330336
(AZX_DCAPS_NO_MSI | AZX_DCAPS_POSFIX_LPIB |\

0 commit comments

Comments
 (0)