[PATCH v2 0/2] drm/vmwgfx: drop use of drmP.h

Sam Ravnborg sam at ravnborg.org
Sun Jun 23 10:23:32 UTC 2019


In two steps drop the use of drmP.h
First patch remove drmP.h from header files and fixes fallout.
Second patch remove drmP.h from the remaining files.

While touching the list of include files divide them in blocks
and sort include files within the blocks.

Patches made on top of drm-misc-next, and checked that
they apply to vmwgfx-fixes-5.2 in
git://people.freedesktop.org/~thomash/linux

Build tested with various configs with several architectures.

v2:
- fix warning in i386 build reported by 0-day
  (missing include)

        Sam

Sam Ravnborg (2):
      drm/vmwgfx: drop use of drmP.h in header files
      drm/vmwgfx: drop reminaing users of drmP.h

 drivers/gpu/drm/vmwgfx/ttm_lock.h          |  2 +-
 drivers/gpu/drm/vmwgfx/ttm_object.h        |  7 ++++---
 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h    |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c         |  1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c     |  3 +++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c        | 17 +++++++++++------
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h        | 30 +++++++++++++++++++++---------
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c         |  8 ++++----
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c      |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.h      |  5 ++++-
 drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c       |  6 ++++--
 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c        |  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_irq.c        |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c        | 10 +++++++---
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h        |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c        |  6 ++++--
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c        |  2 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c        | 11 +++++------
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c    |  6 ++----
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   |  5 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c       |  6 ++++--
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c       |  9 ++++++---
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c   |  1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_validation.h |  3 ++-
 24 files changed, 95 insertions(+), 58 deletions(-)




More information about the dri-devel mailing list