summarylogtreecommitdiffstats
path: root/0006-fix_dm_plane_helper_funcs.patch
diff options
context:
space:
mode:
authorDavid McFarland2017-04-08 19:34:30 -0300
committerDavid McFarland2017-04-08 19:36:26 -0300
commitecef091f54a41fbfab721ea80c28801439476728 (patch)
tree643373b495c88db09367badc1c479a456937abb4 /0006-fix_dm_plane_helper_funcs.patch
parentcd4d76c29b7d08088ef9a091af0c04ad0e4c45be (diff)
downloadaur-ecef091f54a41fbfab721ea80c28801439476728.tar.gz
17.10-401251-2
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,