[PATCH v1 0/11] drm: header maintenance

Sam Ravnborg
2019-07-18T16:14:56Z

First patch from Jani fixes so drm_print.h is self-contained.
Next two patches are trivial removal of uapi dependencies.

ati_pcigart is fixed to drop use of drm_os_linux.h

drm_vblank is likewise fixed to drop use of drm_os_linux.h
This was a non-trivial conversion, *review requested!*

The remaining patches are preparation for and removal of
uapi/drm/drmh from drm_file.h.
There were a few files where we had to push include
of drm/drm.h out to to have a clean build.

CK Hu - please let me apply the mediatek patch to
drm-misc-next, as it is required for the final patch.
Or push it to drm-misc-next yourself.

Sam

Jani Nikula (1):
drm/panel: make drm_panel.h self-contained

Sam Ravnborg (10):
drm: drop uapi dependency from drm_print.h
drm: drop uapi dependency from drm_vblank.h
drm/ati_pcigart: drop dependency on drm_os_linux.h
drm/vblank: drop use of DRM_WAIT_ON()
drm: direct include of drm.h in drm_gem.c
drm: direct include of drm.h in drm_gem_shmem_helper.c
drm: direct include of drm.h in drm_prime.c
drm: direct include of drm.h in drm_syncobj.c
drm/mediatek: direct include of drm.h in mtk_drm_gem.c
drm: drop uapi dependency from drm_file.h

drivers/gpu/drm/ati_pcigart.c | 10 ++++++----
drivers/gpu/drm/drm_gem.c | 1 +
drivers/gpu/drm/drm_gem_shmem_helper.c | 1 +
drivers/gpu/drm/drm_prime.c | 1 +
drivers/gpu/drm/drm_syncobj.c | 1 +
drivers/gpu/drm/drm_vblank.c | 29 ++++++++++++++++++++---------
drivers/gpu/drm/mediatek/mtk_drm_gem.c | 1 +
include/drm/drm_file.h | 4 +---
include/drm/drm_panel.h | 1 +
include/drm/drm_print.h | 4 +---
include/drm/drm_vblank.h | 1 -
11 files changed, 34 insertions(+), 20 deletions(-)