summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-11-14 05:53:39 +1000
committerDave Airlie <airlied@redhat.com>2017-11-14 05:53:39 +1000
commitfc150d6bba8f446f77732cf27b09a7e646c25771 (patch)
tree8673983d58196869d9063cd1ebedd1ead6dd4136 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
parentecc325bb76707370cfa6f34ef8574c7ee7577a23 (diff)
parentf674bd281460451e8784f3bc917a650e8937a8ed (diff)
downloadtalos-obmc-linux-fc150d6bba8f446f77732cf27b09a7e646c25771.tar.gz
talos-obmc-linux-fc150d6bba8f446f77732cf27b09a7e646c25771.zip
Merge branch 'linus-4.14-rc4-acp-prereq' of git://people.freedesktop.org/~agd5f/linux into drm-next
This is a shared tree between drm and audio for some amd bits. * 'linus-4.14-rc4-acp-prereq' of git://people.freedesktop.org/~agd5f/linux: drm/amdgpu Moving amdgpu asic types to a separate file ASoC: AMD: Added asic_type as ACP DMA driver platform data drm/amd/amdgpu: Added asic_type as ACP DMA driver platform data
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
index 023bfdb3e63f..c04f44a90392 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
@@ -382,6 +382,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;
OpenPOWER on IntegriCloud