Skip to contentSkip to conversation

amdgpu/dc: drop dml display_mode_support.c

PATCH New Dave Airlie 1 participant 1 message Sep 28, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amdgpu/dc: drop dml display_mode_support.c

From: Dave Airlie <[email protected]>

This code isn't used, and this function is huge, reimport later if going to be used.

---
 drivers/gpu/drm/amd/display/dc/dml/Makefile        |    4 +-
 .../gpu/drm/amd/display/dc/dml/display_mode_lib.h  |    1 -
 .../drm/amd/display/dc/dml/display_mode_support.c  | 2327 --------------------
 .../drm/amd/display/dc/dml/display_mode_support.h  |    5 -
 4 files changed, 1 insertion(+), 2336 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dml/display_mode_support.c
drivers/gpu/drm/amd/display/dc/dml/Makefile +1 -3
index a6bf364..ec712d7 100644
@@ -10,12 +10,10 @@ CFLAGS_display_rq_dlg_helpers.o := -mhard-float -msse -mpreferred-stack-boundary
 CFLAGS_display_watermark.o := -mhard-float -msse -mpreferred-stack-boundary=4
 CFLAGS_soc_bounding_box.o := -mhard-float -msse -mpreferred-stack-boundary=4
 CFLAGS_dml_common_defs.o := -mhard-float -msse -mpreferred-stack-boundary=4
-CFLAGS_display_mode_support.o := -mhard-float -msse -mpreferred-stack-boundary=4
-
 
 DML = display_mode_lib.o display_rq_dlg_calc.o \
 	  display_rq_dlg_helpers.o display_watermark.o \
-	  soc_bounding_box.o dml_common_defs.o display_mode_support.o
+	  soc_bounding_box.o dml_common_defs.o
 
 AMD_DAL_DML = $(addprefix $(AMDDALPATH)/dc/dml/,$(DML))
 
drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.h +0 -1
index eb1c8e6..e0af28d 100644
@@ -29,7 +29,6 @@
 #include "soc_bounding_box.h"
 #include "display_watermark.h"
 #include "display_rq_dlg_calc.h"
-#include "display_mode_support.h"
 
 enum dml_project {
 	DML_PROJECT_UNDEFINED,
drivers/gpu/drm/amd/display/dc/dml/display_mode_support.c deleted +0 -2327

2,327 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/dml/display_mode_support.h +0 -5
index ead4942..d4ea037 100644
@@ -191,9 +191,4 @@ struct dml_ms_internal_vars {
 	struct _vcs_dpi_wm_calc_pipe_params_st planes[DC__NUM_PIPES__MAX];
 };
 
-int dml_ms_check(
-		struct display_mode_lib *mode_lib,
-		struct _vcs_dpi_display_e2e_pipe_params_st *e2e,
-		int num_pipes);
-
 #endif
Signature · 6 lines
2.9.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx