Skip to contentSkip to conversation

Applied "drm/amd/amdgpu: Added asic_type as ACP DMA driver platform data" to the asoc tree

PATCH Mark Brown 1 participant 1 message Oct 18, 2017

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

The patch

drm/amd/amdgpu: Added asic_type as ACP DMA driver platform data

has been applied to the asoc tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From d4ba4ef2e894c10f2c16497fb0659e5ded502f97 Mon Sep 17 00:00:00 2001

From: Vijendar Mukunda <[email protected]>
Date: Mon, 9 Oct 2017 16:35:12 -0400
Subject: [PATCH] drm/amd/amdgpu: Added asic_type as ACP DMA driver platform
data

asic_type information is passed to ACP DMA Driver as platform data.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +2 -0
index a52795d9b458..ebca22302ebb 100644
@@ -371,6 +371,8 @@ static int acp_hw_init(void *handle)
 	adev->acp.acp_cell[0].name = "acp_audio_dma";
 	adev->acp.acp_cell[0].num_resources = 4;
 	adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0];
+	adev->acp.acp_cell[0].platform_data = &adev->asic_type;
+	adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type);
 
 	adev->acp.acp_cell[1].name = "designware-i2s";
 	adev->acp.acp_cell[1].num_resources = 1;
Signature · 1 line
2.14.1