mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
64 lines
1.7 KiB
Diff
64 lines
1.7 KiB
Diff
From f5e9c38169dc19ff64f32a38e4fdd3eef74df103 Mon Sep 17 00:00:00 2001
|
|
From: Maxime Ripard <maxime@cerno.tech>
|
|
Date: Mon, 28 Nov 2022 14:12:43 +0100
|
|
Subject: [PATCH] drm/tests: helpers: Move the helper header to
|
|
include/drm
|
|
|
|
We'll need to use those helpers from drivers too, so let's move it to a
|
|
more visible location.
|
|
|
|
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
|
---
|
|
drivers/gpu/drm/tests/drm_kunit_helpers.c | 3 +--
|
|
{drivers/gpu/drm/tests => include/drm}/drm_kunit_helpers.h | 0
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
rename {drivers/gpu/drm/tests => include/drm}/drm_kunit_helpers.h (100%)
|
|
|
|
--- a/drivers/gpu/drm/tests/drm_kunit_helpers.c
|
|
+++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c
|
|
@@ -1,14 +1,13 @@
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <drm/drm_drv.h>
|
|
+#include <drm/drm_kunit_helpers.h>
|
|
#include <drm/drm_managed.h>
|
|
|
|
#include <kunit/resource.h>
|
|
|
|
#include <linux/device.h>
|
|
|
|
-#include "drm_kunit_helpers.h"
|
|
-
|
|
struct kunit_dev {
|
|
struct drm_device base;
|
|
};
|
|
--- a/drivers/gpu/drm/tests/drm_kunit_helpers.h
|
|
+++ /dev/null
|
|
@@ -1,11 +0,0 @@
|
|
-// SPDX-License-Identifier: GPL-2.0
|
|
-
|
|
-#ifndef DRM_KUNIT_HELPERS_H_
|
|
-#define DRM_KUNIT_HELPERS_H_
|
|
-
|
|
-struct drm_device;
|
|
-struct kunit;
|
|
-
|
|
-struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char *name);
|
|
-
|
|
-#endif // DRM_KUNIT_HELPERS_H_
|
|
--- /dev/null
|
|
+++ b/include/drm/drm_kunit_helpers.h
|
|
@@ -0,0 +1,11 @@
|
|
+// SPDX-License-Identifier: GPL-2.0
|
|
+
|
|
+#ifndef DRM_KUNIT_HELPERS_H_
|
|
+#define DRM_KUNIT_HELPERS_H_
|
|
+
|
|
+struct drm_device;
|
|
+struct kunit;
|
|
+
|
|
+struct drm_device *drm_kunit_device_init(struct kunit *test, u32 features, char *name);
|
|
+
|
|
+#endif // DRM_KUNIT_HELPERS_H_
|