From: Akshu Agrawal <[email protected]> The patch uses shared resources to map same register address space on 2 cpu dais.
Signed-off-by: Akshu Agrawal <[email protected]> Signed-off-by: Vijendar Mukunda <[email protected]> Reviewed-by: Alex Deucher <[email protected]> --- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c index 1bc463a..598921b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c @@ -398,6 +398,7 @@ static int acp_hw_init(void *handle) i2s_pdata[3].snd_rates = SNDRV_PCM_RATE_8000_96000; i2s_pdata[3].i2s_reg_comp1 = ACP_BT_COMP1_REG_OFFSET; i2s_pdata[3].i2s_reg_comp2 = ACP_BT_COMP2_REG_OFFSET; + i2s_pdata[3].shared = true; adev->acp.acp_res[0].name = "acp2x_dma"; adev->acp.acp_res[0].flags = IORESOURCE_MEM; -- 2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
