Skip to content

Commit 7b4d4ad

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 584a95b commit 7b4d4ad

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
@@ -321,9 +321,15 @@ enum {
321321
AZX_DCAPS_RETRY_PROBE)
322322

323323
/* quirks for Nvidia */
324+
#if defined(CONFIG_PCIE_SG2042_HACK)
325+
#define AZX_DCAPS_PRESET_NVIDIA \
326+
(AZX_DCAPS_CORBRP_SELF_CLEAR |\
327+
AZX_DCAPS_SNOOP_TYPE(NVIDIA))
328+
#else
324329
#define AZX_DCAPS_PRESET_NVIDIA \
325330
(AZX_DCAPS_NO_MSI | AZX_DCAPS_CORBRP_SELF_CLEAR |\
326331
AZX_DCAPS_SNOOP_TYPE(NVIDIA))
332+
#endif
327333

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

0 commit comments

Comments
 (0)