[PATCH v2 10/19] drm/selftests: drop use of drmP.h

Alex Deucher alexdeucher at gmail.com
Tue Jul 16 14:02:17 UTC 2019


On Tue, Jul 16, 2019 at 2:45 AM Sam Ravnborg <sam at ravnborg.org> wrote:
>
> Drop the single user of drmP.h - replace it with relevant includes.
>
> Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
> Acked-by: Emil Velikov <emil.velikov at collabora.com>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Alexandru-Cosmin Gheorghe <Alexandru-Cosmin.Gheorghe at arm.com>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/selftests/test-drm_framebuffer.c | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> 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"
> --
> 2.20.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list