Skip to contentSkip to conversation

drm/amdgpu: remove non-DC DCE 11 code

PATCH New Alex Deucher 1 participant 1 message Aug 20, 2025

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: remove non-DC DCE 11 code

DC has been the default for close to 10 years now and supports many things that the non-DC code does not (audio, DP MST, etc.). No DCE 11.x IPs ever supported analog encoders so that is not an issue. Finally drop this code.

---
 drivers/gpu/drm/amd/amdgpu/Makefile      |    1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c |    8 -
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c   | 3818 ----------------------
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.h   |   32 -
 drivers/gpu/drm/amd/amdgpu/vi.c          |    7 -
 5 files changed, 3866 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
 delete mode 100644 drivers/gpu/drm/amd/amdgpu/dce_v11_0.h
drivers/gpu/drm/amd/amdgpu/Makefile +0 -1
index 2d0fea87af79f..64e7acff8f18d 100644
@@ -138,7 +138,6 @@ amdgpu-y += \
 # add DCE block
 amdgpu-y += \
 	dce_v10_0.o \
-	dce_v11_0.o \
 	amdgpu_vkms.o
 
 # add GFX block
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c +0 -8
index fc6d02d0f047a..9c424b3d48892 100644
@@ -14,7 +14,6 @@
 #include "dce_v8_0.h"
 #endif
 #include "dce_v10_0.h"
-#include "dce_v11_0.h"
 #include "ivsrcid/ivsrcid_vislands30.h"
 #include "amdgpu_vkms.h"
 #include "amdgpu_display.h"
@@ -581,13 +580,6 @@ static int amdgpu_vkms_hw_init(struct amdgpu_ip_block *ip_block)
 	case CHIP_TONGA:
 		dce_v10_0_disable_dce(adev);
 		break;
-	case CHIP_CARRIZO:
-	case CHIP_STONEY:
-	case CHIP_POLARIS10:
-	case CHIP_POLARIS11:
-	case CHIP_VEGAM:
-		dce_v11_0_disable_dce(adev);
-		break;
 	case CHIP_TOPAZ:
 #ifdef CONFIG_DRM_AMDGPU_SI
 	case CHIP_HAINAN:
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c deleted +0 -3818

2,973 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/dce_v11_0.h deleted +0 -32
deleted file mode 100644
index 0d878ca3acbab..0000000000000

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/amdgpu/vi.c +0 -7
index 9b3510e531127..a611a73451250 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.50.1

Part of the diff is not shown here. View the raw message.