diff options
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_framebuffer.c')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun4i_framebuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_framebuffer.c b/drivers/gpu/drm/sun4i/sun4i_framebuffer.c index 9872e0fc03b0..2992f0a6b349 100644 --- a/drivers/gpu/drm/sun4i/sun4i_framebuffer.c +++ b/drivers/gpu/drm/sun4i/sun4i_framebuffer.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <drm/drm_atomic_helper.h> | 13 | #include <drm/drm_atomic_helper.h> |
14 | #include <drm/drm_fb_cma_helper.h> | 14 | #include <drm/drm_fb_cma_helper.h> |
15 | #include <drm/drm_gem_framebuffer_helper.h> | ||
15 | #include <drm/drmP.h> | 16 | #include <drm/drmP.h> |
16 | 17 | ||
17 | #include "sun4i_drv.h" | 18 | #include "sun4i_drv.h" |
@@ -28,7 +29,7 @@ static const struct drm_mode_config_funcs sun4i_de_mode_config_funcs = { | |||
28 | .output_poll_changed = sun4i_de_output_poll_changed, | 29 | .output_poll_changed = sun4i_de_output_poll_changed, |
29 | .atomic_check = drm_atomic_helper_check, | 30 | .atomic_check = drm_atomic_helper_check, |
30 | .atomic_commit = drm_atomic_helper_commit, | 31 | .atomic_commit = drm_atomic_helper_commit, |
31 | .fb_create = drm_fb_cma_create, | 32 | .fb_create = drm_gem_fb_create, |
32 | }; | 33 | }; |
33 | 34 | ||
34 | struct drm_fbdev_cma *sun4i_framebuffer_init(struct drm_device *drm) | 35 | struct drm_fbdev_cma *sun4i_framebuffer_init(struct drm_device *drm) |