diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0018-drm-amd-amdgpu-Added-asic_type-as-ACP-DMA-driver-pla.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0018-drm-amd-amdgpu-Added-asic_type-as-ACP-DMA-driver-pla.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0018-drm-amd-amdgpu-Added-asic_type-as-ACP-DMA-driver-pla.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0018-drm-amd-amdgpu-Added-asic_type-as-ACP-DMA-driver-pla.patch new file mode 100644 index 00000000..8bbfe67d --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0018-drm-amd-amdgpu-Added-asic_type-as-ACP-DMA-driver-pla.patch @@ -0,0 +1,31 @@ +From a9edf33b1b050ac665bd76cd115715c9846c70a1 Mon Sep 17 00:00:00 2001 +From: Vijendar Mukunda <Vijendar.Mukunda@amd.com> +Date: Fri, 7 Jul 2017 19:51:26 +0530 +Subject: [PATCH 0018/4131] drm/amd/amdgpu: Added asic_type as ACP DMA driver + platform data + +asic_type information is passed to ACP DMA Driver as platform data. + +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +index a52795d..ebca223 100644 +--- 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; +-- +2.7.4 + |