projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5776a
)
drm/amd/amdgpu: Added asic_type as ACP DMA driver platform data
author
Vijendar Mukunda
<
[email protected]
>
Mon, 9 Oct 2017 20:35:12 +0000
(16:35 -0400)
committer
Alex Deucher
<
[email protected]
>
Wed, 18 Oct 2017 14:56:26 +0000
(10:56 -0400)
asic_type information is passed to ACP DMA Driver as platform data.
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Vijendar Mukunda <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
index a52795d9b45852a371fed81a8f17a51d63bab120..ebca22302ebb5e4704e20b7d6301d2fd415f5b48 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
@@
-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;