ALSA: hda/tegra: Align BDL entry to 4KB boundary
Subsystems (2)
PATCH 1/1 ALSA: hda/tegra: Align BDL entry to 4KB boundary
AZA HW may send a burst read/write request crossing 4K memory boundary. The 4KB boundary is not guaranteed by Tegra HDA HW. Make SW change to include the flag AZX_DCAPS_4K_BDLE_BOUNDARY to align BDLE to 4K boundary.
Signed-off-by Mohan Kumar <[email protected]>
--- sound/pci/hda/hda_tegra.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
sound/pci/hda/hda_tegra.c +2 -1
@@ -474,7 +474,8 @@ MODULE_DEVICE_TABLE(of, hda_tegra_match);static int hda_tegra_probe (struct platform_device *pdev) {const unsigned int driver_flags =AZX_DCAPS_CORBRP_SELF_CLEAR | -AZX_DCAPS_PM_RUNTIME ; +AZX_DCAPS_PM_RUNTIME | +AZX_DCAPS_4K_BDLE_BOUNDARY ;struct snd_card *card;struct azx *chip;struct hda_tegra *hda;
Signature · 1 line
2.17.1
Takashi Iwai
AppliedQuoted 7 lines · Mohan Kumar
AZA HW may send a burst read/write request crossing 4K memory boundary. The 4KB boundary is not guaranteed by Tegra HDA HW. Make SW change to include the flag
AZX_DCAPS_4K_BDLE_BOUNDARYto align BDLE to 4K boundary.Signed-off-by Mohan Kumar <[email protected]>
Thanks, applied.
Takashi