[PATCH v2 0/2] drm/bridge: drop drmP.h usage

Sam Ravnborg sam at ravnborg.org
Sun May 19 18:36:34 UTC 2019


To avoid that people start to pick up bad habits
get rid of the deprecated drmP.h in all of the bridge/ code.

Build tested using allmodconfig/allyesconfig with
arm, x86, alpha (that has a tendency to break) and a few more

v2:
Sort include blocks like this:
#include <linux/*>

#include <media/*>

#include <drm/*>

#include "foo.h"

And within each block sort alphabetically.
Laurent pointed out the order of the blocks was not consistent.
And it was not consistent what was in each block.

The re-ordering caused the build to fail due to dw_mipi_dsi.h.
Fix so this header becomes self-contained to avoid this.

Sam Ravnborg (2):
      drm/bridge: make dw_mipi_dsi.h self-contained
      drm/bridge: drop drmP.h usage

 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c       |  8 +++----
 drivers/gpu/drm/bridge/analogix-anx78xx.c          |  8 +++----
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 18 +++++++--------
 drivers/gpu/drm/bridge/dumb-vga-dac.c              |  2 +-
 drivers/gpu/drm/bridge/lvds-encoder.c              | 10 ++++----
 .../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c   |  3 ++-
 drivers/gpu/drm/bridge/nxp-ptn3460.c               |  3 ++-
 drivers/gpu/drm/bridge/panel.c                     |  5 ++--
 drivers/gpu/drm/bridge/parade-ps8622.c             |  3 ++-
 drivers/gpu/drm/bridge/sii902x.c                   |  3 ++-
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c          | 27 +++++++++++-----------
 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c      |  9 +++++---
 drivers/gpu/drm/bridge/tc358764.c                  | 14 +++++++----
 drivers/gpu/drm/bridge/thc63lvd1024.c              | 10 ++++----
 drivers/gpu/drm/bridge/ti-sn65dsi86.c              | 18 ++++++++-------
 drivers/gpu/drm/bridge/ti-tfp410.c                 |  4 ++--
 include/drm/bridge/dw_mipi_dsi.h                   |  8 +++++++
 17 files changed, 89 insertions(+), 64 deletions(-)



More information about the dri-devel mailing list