OSDN Git Service

drm/amdgpu/display: remove an old DCN3 guard
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 7 May 2021 20:16:49 +0000 (16:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 May 2021 13:44:35 +0000 (09:44 -0400)
The DCN3 guards were dropped a while ago, this one must have
snuck in in a merge or something.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index eab6bef..edd967e 100644 (file)
@@ -3720,10 +3720,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
 
        /* Use Outbox interrupt */
        switch (adev->asic_type) {
-#if defined(CONFIG_DRM_AMD_DC_DCN3_0)
        case CHIP_SIENNA_CICHLID:
        case CHIP_NAVY_FLOUNDER:
-#endif
        case CHIP_RENOIR:
                if (register_outbox_irq_handlers(dm->adev)) {
                        DRM_ERROR("DM: Failed to initialize IRQ\n");