dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: dri-devel@lists.freedesktop.org
Cc: David Airlie <airlied@linux.ie>
Subject: [PATCH v2 0/5] drm/gma500: drop use of drmP.h
Date: Sun, 19 May 2019 21:55:21 +0200	[thread overview]
Message-ID: <20190519195526.3422-1-sam@ravnborg.org> (raw)

The following patchset remove use of the deprecated drmP.h
header file in the gma500 driver.

As preparation an empty header file is removed and a dependency on
drm_os_linux.h is dropped.
The local header files are made more self-contained to allow
them to be included in alphabetical order in the files where they are used.

When removing drmP.h the include files are divided up in blocks:
\#include <linux/*>

\#include <asm/*>

\#include <drm/*>

\#include ""

Within each block the include files are sorted alphabetically

Build tested with allmodconfig and allyesconfig for x86, arm, alpha and more.

Patchset made on top of drm-misc-next

v2:
- Be consitent in dividing includes files into blocks
- Sort all include files, not only the blocks touched
- Made local header files more self-contained
  To allow them to be included in alphabetically order

        Sam

Sam Ravnborg (5):
      drm/gma500: remove empty gma_drm.h header file
      drm/gma500: drop drmP.h from header files
      drm/gma500: make local header files more self-contained
      drm/gma500: drop use of DRM_UDELAY wrapper
      drm/gma500: drop drmp.h include from all .c files

 drivers/gpu/drm/gma500/accel_2d.c             | 18 +++++++--------
 drivers/gpu/drm/gma500/blitter.h              |  2 ++
 drivers/gpu/drm/gma500/cdv_device.c           | 13 ++++++-----
 drivers/gpu/drm/gma500/cdv_device.h           |  4 ++++
 drivers/gpu/drm/gma500/cdv_intel_crt.c        |  8 +++----
 drivers/gpu/drm/gma500/cdv_intel_display.c    | 10 ++++----
 drivers/gpu/drm/gma500/cdv_intel_dp.c         |  9 ++++----
 drivers/gpu/drm/gma500/cdv_intel_hdmi.c       |  9 ++++----
 drivers/gpu/drm/gma500/cdv_intel_lvds.c       |  9 ++++----
 drivers/gpu/drm/gma500/framebuffer.c          | 24 +++++++++----------
 drivers/gpu/drm/gma500/framebuffer.h          |  1 -
 drivers/gpu/drm/gma500/gem.c                  |  5 ++--
 drivers/gpu/drm/gma500/gma_device.c           |  1 -
 drivers/gpu/drm/gma500/gma_device.h           |  1 +
 drivers/gpu/drm/gma500/gma_display.c          | 12 +++++++---
 drivers/gpu/drm/gma500/gma_display.h          |  3 +++
 drivers/gpu/drm/gma500/gtt.c                  |  5 ++--
 drivers/gpu/drm/gma500/gtt.h                  |  1 -
 drivers/gpu/drm/gma500/intel_bios.c           |  6 ++---
 drivers/gpu/drm/gma500/intel_bios.h           |  3 +--
 drivers/gpu/drm/gma500/intel_gmbus.c          | 11 +++++----
 drivers/gpu/drm/gma500/intel_i2c.c            |  4 +++-
 drivers/gpu/drm/gma500/mdfld_device.c         | 16 +++++++------
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c        |  4 +++-
 drivers/gpu/drm/gma500/mdfld_dsi_output.c     | 12 ++++++----
 drivers/gpu/drm/gma500/mdfld_dsi_output.h     |  8 +++----
 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c |  4 +++-
 drivers/gpu/drm/gma500/mdfld_intel_display.c  | 11 +++++----
 drivers/gpu/drm/gma500/mdfld_tmd_vid.c        |  2 ++
 drivers/gpu/drm/gma500/mid_bios.c             |  5 ++--
 drivers/gpu/drm/gma500/mid_bios.h             |  1 +
 drivers/gpu/drm/gma500/mmu.c                  |  6 +++--
 drivers/gpu/drm/gma500/oaktrail.h             |  2 ++
 drivers/gpu/drm/gma500/oaktrail_crtc.c        |  8 ++++---
 drivers/gpu/drm/gma500/oaktrail_device.c      | 20 ++++++++--------
 drivers/gpu/drm/gma500/oaktrail_hdmi.c        |  8 ++++---
 drivers/gpu/drm/gma500/oaktrail_lvds.c        |  6 ++---
 drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c    | 11 ++++-----
 drivers/gpu/drm/gma500/power.h                |  4 +++-
 drivers/gpu/drm/gma500/psb_device.c           | 12 +++++-----
 drivers/gpu/drm/gma500/psb_drv.c              | 33 +++++++++++++++++----------
 drivers/gpu/drm/gma500/psb_drv.h              | 16 ++++++-------
 drivers/gpu/drm/gma500/psb_intel_display.c    |  7 +++---
 drivers/gpu/drm/gma500/psb_intel_lvds.c       |  5 ++--
 drivers/gpu/drm/gma500/psb_intel_modes.c      |  2 +-
 drivers/gpu/drm/gma500/psb_intel_sdvo.c       | 15 ++++++------
 drivers/gpu/drm/gma500/psb_irq.c              |  9 ++++----
 drivers/gpu/drm/gma500/psb_irq.h              |  2 +-
 drivers/gpu/drm/gma500/psb_lid.c              |  6 ++---
 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c    | 13 +++++++----
 include/drm/gma_drm.h                         | 25 --------------------
 51 files changed, 233 insertions(+), 199 deletions(-)

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2019-05-19 19:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-19 19:55 Sam Ravnborg [this message]
2019-05-19 19:55 ` [PATCH v2 1/5] drm/gma500: remove empty gma_drm.h header file Sam Ravnborg
2019-05-19 19:55 ` [PATCH v2 2/5] drm/gma500: drop drmP.h from header files Sam Ravnborg
2019-05-19 19:55 ` [PATCH v2 3/5] drm/gma500: make local header files more self-contained Sam Ravnborg
2019-05-19 19:55 ` [PATCH v2 4/5] drm/gma500: drop use of DRM_UDELAY wrapper Sam Ravnborg
2019-05-19 19:55 ` [PATCH v2 5/5] drm/gma500: drop drmp.h include from all .c files Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190519195526.3422-1-sam@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).