linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/msm/dpu: Remove dead code
@ 2018-07-26 20:30 Jordan Crouse
       [not found] ` <20180726203014.3270-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Jordan Crouse @ 2018-07-26 20:30 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
	seanpaul-F7+t8E8rja9g9hUCZPvPmw,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

I made a silly little script that looked at the defined symbols
in nm and then looked to see if other files in the module used
those symbols and if they didn't they were either candidates
for removal or to be made static. This is the result.

I split the code into per-file chunks for easier review and
to make it easier for the developers to object to any given removal
but I have no qualms if Sean or Rob want to squash these together
in the final patch.

Jordan Crouse (5):
  drm/msm/disp/dpu: Remove unused code from drm_encoder.c
  drm/msm/disp/dpu: Remove unused code from drm_crtc.c
  drm/msm/disp/dpu: Remove dpu_kms_utils
  drm/msm/disp/dpu: Remove unused functions from dpu_formats.c
  drm/msm/disp/dpu: Mark a handful of functions as static

 drivers/gpu/drm/msm/Makefile                  |   1 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c      | 383 +-----------------
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h      |  61 ---
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   |  87 +---
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h   |  14 -
 .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h  |  23 --
 .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c  |   2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c   |  43 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h   |  48 ---
 .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    |   2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_cdm.c    |   4 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_top.c    |   2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c   |  84 ----
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h   |  10 -
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |   2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h       | 112 -----
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms_utils.c | 153 -------
 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c      |   2 +-
 18 files changed, 15 insertions(+), 1018 deletions(-)
 delete mode 100644 drivers/gpu/drm/msm/disp/dpu1/dpu_kms_utils.c

-- 
2.18.0

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-26 23:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26 20:30 [PATCH 0/5] drm/msm/dpu: Remove dead code Jordan Crouse
     [not found] ` <20180726203014.3270-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-07-26 20:30   ` [PATCH 1/5] drm/msm/disp/dpu: Remove unused code from drm_encoder.c Jordan Crouse
2018-07-26 20:30   ` [PATCH 2/5] drm/msm/disp/dpu: Remove unused code from drm_crtc.c Jordan Crouse
2018-07-26 20:30   ` [PATCH 3/5] drm/msm/disp/dpu: Remove dpu_kms_utils Jordan Crouse
2018-07-26 20:30   ` [PATCH 4/5] drm/msm/disp/dpu: Remove unused functions from dpu_formats.c Jordan Crouse
2018-07-26 20:30   ` [PATCH 5/5] drm/msm/disp/dpu: Mark a handful of functions as static Jordan Crouse
2018-07-26 23:34   ` [PATCH 0/5] drm/msm/dpu: Remove dead code Rob Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).