drm: move DRM_IF_VERSION to drm_internal.h
Subsystems (2)
PATCH v2 1/14 drm: move DRM_IF_VERSION to drm_internal.h
Move DRM_IF_VERSION out of drmP.h to allow users
to get rid of the drmP include.
Signed-off-by Sam Ravnborg <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Sean Paul <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
Signed-off-by Daniel Vetter <[email protected]>
--- drivers/gpu/drm/drm_internal.h | 2 ++ include/drm/drmP.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_internal.h +2 -0
@@ -26,6 +26,8 @@#define DRM_IF_MAJOR 1#define DRM_IF_MINOR 4 +#define DRM_IF_VERSION (maj, min) (maj << 16 | min) +struct drm_prime_file_private ;struct dma_buf ;
include/drm/drmP.h +0 -2
@@ -94,8 +94,6 @@ struct dma_buf_attachment;struct pci_dev ;struct pci_controller ; -#define DRM_IF_VERSION (maj, min) (maj << 16 | min) -#define DRM_SWITCH_POWER_ON 0#define DRM_SWITCH_POWER_OFF 1#define DRM_SWITCH_POWER_CHANGING 2
Signature · 6 lines
2.12.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel