aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2019-07-16 08:42:11 +0200
committerSam Ravnborg <[email protected]>2019-07-17 12:52:55 +0200
commit54ccae0c08929f4a2da0a1a2b0a86e744579ef8b (patch)
tree5d078b46eea2bd6587008913fcbc43f91d71e14b
parent81f6156ca5aea59640cc3a11565e10b0c4cac60b (diff)
drm/selftests: drop use of drmP.h
Drop the single user of drmP.h - replace it with relevant includes. Signed-off-by: Sam Ravnborg <[email protected]> Acked-by: Emil Velikov <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Alexandru-Cosmin Gheorghe <[email protected]> Cc: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/selftests/test-drm_framebuffer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/selftests/test-drm_framebuffer.c b/drivers/gpu/drm/selftests/test-drm_framebuffer.c
index a04d02dacce2..74d5561a862b 100644
--- a/drivers/gpu/drm/selftests/test-drm_framebuffer.c
+++ b/drivers/gpu/drm/selftests/test-drm_framebuffer.c
@@ -3,7 +3,12 @@
* Test cases for the drm_framebuffer functions
*/
-#include <drm/drmP.h>
+#include <linux/kernel.h>
+
+#include <drm/drm_device.h>
+#include <drm/drm_mode.h>
+#include <drm/drm_fourcc.h>
+
#include "../drm_crtc_internal.h"
#include "test-drm_modeset_common.h"