diff options
author | David McFarland | 2017-02-07 08:11:35 -0400 |
---|---|---|
committer | David McFarland | 2017-02-07 08:11:35 -0400 |
commit | 2a51bcdea913f0f5f952b3d0254aca4846de8a36 (patch) | |
tree | aabf174ee04afd42425504636399354b1ca95b30 /0006-fix_dm_plane_helper_funcs.patch | |
parent | 22ed57d1112fe758eb8f637246b6342687031dbf (diff) | |
download | aur-2a51bcdea913f0f5f952b3d0254aca4846de8a36.tar.gz |
16.60.379184-1
Diffstat (limited to '0006-fix_dm_plane_helper_funcs.patch')
-rw-r--r-- | 0006-fix_dm_plane_helper_funcs.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0006-fix_dm_plane_helper_funcs.patch b/0006-fix_dm_plane_helper_funcs.patch new file mode 100644 index 000000000000..310dd4b49b11 --- /dev/null +++ b/0006-fix_dm_plane_helper_funcs.patch @@ -0,0 +1,26 @@ +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, |