diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-01-25 16:53:25 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:19:02 -0500 |
commit | 367e66870e9cc20b867b11c4484ae83336efcb67 (patch) | |
tree | 6fb8782b473210c44a451ce0e64c4ac38a9fdbe4 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 7ca34ddc7866230a1a6c2fa9cc0167dd841bd583 (diff) |
drm/amdgpu: remove DC special casing for KB/ML
It seems to be working now.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102372
Reviewed-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 309977ef5b51..2ad9de42b65b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -1704,6 +1704,8 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) | |||
1704 | case CHIP_BONAIRE: | 1704 | case CHIP_BONAIRE: |
1705 | case CHIP_HAWAII: | 1705 | case CHIP_HAWAII: |
1706 | case CHIP_KAVERI: | 1706 | case CHIP_KAVERI: |
1707 | case CHIP_KABINI: | ||
1708 | case CHIP_MULLINS: | ||
1707 | case CHIP_CARRIZO: | 1709 | case CHIP_CARRIZO: |
1708 | case CHIP_STONEY: | 1710 | case CHIP_STONEY: |
1709 | case CHIP_POLARIS11: | 1711 | case CHIP_POLARIS11: |
@@ -1714,9 +1716,6 @@ bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type) | |||
1714 | #if defined(CONFIG_DRM_AMD_DC_PRE_VEGA) | 1716 | #if defined(CONFIG_DRM_AMD_DC_PRE_VEGA) |
1715 | return amdgpu_dc != 0; | 1717 | return amdgpu_dc != 0; |
1716 | #endif | 1718 | #endif |
1717 | case CHIP_KABINI: | ||
1718 | case CHIP_MULLINS: | ||
1719 | return amdgpu_dc > 0; | ||
1720 | case CHIP_VEGA10: | 1719 | case CHIP_VEGA10: |
1721 | #if defined(CONFIG_DRM_AMD_DC_DCN1_0) | 1720 | #if defined(CONFIG_DRM_AMD_DC_DCN1_0) |
1722 | case CHIP_RAVEN: | 1721 | case CHIP_RAVEN: |