OSDN Git Service

drm/amd/amdgpu: Added a quirk for Stoney platform
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 7 Jul 2017 15:17:13 +0000 (20:47 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:22 +0000 (14:46 -0400)
commit81454cad0a5137694f67a6c550da9c01492c3246
tree03cf85fe2f59b9ba95fd8a2b18160fa522b43f54
parent02dc13e450cb9f70a588bebbfcb17826d5d7bc05
drm/amd/amdgpu: Added a quirk for Stoney platform

Added DW_I2S_QUIRK_16BIT_IDX_OVERRIDE quirk for Stoney.

Supported format and bus width for I2S controller read
from I2S Component Parameter registers.
These are ready only registers.

For Stoney, I2S Component Parameter registers are programmed
to support 32 bit format and 4 bytes bus width only.

By setting this quirk,It will override 32 bit format with
16 bit format and 2 bytes as bus width for Stoney.

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