summarylogtreecommitdiffstats
path: root/0006-fix_dm_plane_helper_funcs.patch
diff options
context:
space:
mode:
Diffstat (limited to '0006-fix_dm_plane_helper_funcs.patch')
-rw-r--r--0006-fix_dm_plane_helper_funcs.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/0006-fix_dm_plane_helper_funcs.patch b/0006-fix_dm_plane_helper_funcs.patch
deleted file mode 100644
index 310dd4b49b11..000000000000
--- a/0006-fix_dm_plane_helper_funcs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/amd/display/amdgpu_dm/amdgpu_dm_types.c b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-index edc8e86..0b38016 100644
---- a/amd/display/amdgpu_dm/amdgpu_dm_types.c
-+++ b/amd/display/amdgpu_dm/amdgpu_dm_types.c
-@@ -1675,6 +1676,10 @@ static int dm_plane_helper_prepare_fb(
- struct drm_plane *plane,
- struct drm_framebuffer *fb,
- const struct drm_plane_state *new_state)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+static int dm_plane_helper_prepare_fb(
-+ struct drm_plane *plane,
-+ struct drm_plane_state *new_state)
- #else
- static int dm_plane_helper_prepare_fb(
- struct drm_plane *plane,
-@@ -1718,6 +1723,10 @@ static void dm_plane_helper_cleanup_fb(
- struct drm_plane *plane,
- struct drm_framebuffer *fb,
- const struct drm_plane_state *old_state)
-+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
-+static void dm_plane_helper_cleanup_fb(
-+ struct drm_plane *plane,
-+ struct drm_plane_state *old_state)
- #else
- static void dm_plane_helper_cleanup_fb(
- struct drm_plane *plane,