drm/amdgpu/virtual_dce: drop error message in hw_init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Aug 2019 13:47:34 +0000 (08:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Aug 2019 20:52:32 +0000 (15:52 -0500)
No need to add new asic cases.  This is a sw display
implementation, so just drop the error message so when
we add new asics, all we have to do is add the virtual
dce IP module.

Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_virtual.c

index f1fadb5ba191109e47f80d8feadae4b4b80a0028..c9608ae8643b64b0a7eb5ba585b683a1a5a189c8 100644 (file)
@@ -454,17 +454,8 @@ static int dce_virtual_hw_init(void *handle)
 #endif
                /* no DCE */
                break;
-       case CHIP_VEGA10:
-       case CHIP_VEGA12:
-       case CHIP_VEGA20:
-       case CHIP_ARCTURUS:
-       case CHIP_RENOIR:
-       case CHIP_NAVI10:
-       case CHIP_NAVI14:
-       case CHIP_NAVI12:
-               break;
        default:
-               DRM_ERROR("Virtual display unsupported ASIC type: 0x%X\n", adev->asic_type);
+               break;
        }
        return 0;
 }