diff options
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_kms.c')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_kms.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c index ca5aa7fba769..127468785f74 100644 --- a/drivers/gpu/drm/vc4/vc4_kms.c +++ b/drivers/gpu/drm/vc4/vc4_kms.c | |||
@@ -19,8 +19,6 @@ | |||
19 | #include <drm/drm_atomic_helper.h> | 19 | #include <drm/drm_atomic_helper.h> |
20 | #include <drm/drm_crtc_helper.h> | 20 | #include <drm/drm_crtc_helper.h> |
21 | #include <drm/drm_plane_helper.h> | 21 | #include <drm/drm_plane_helper.h> |
22 | #include <drm/drm_fb_helper.h> | ||
23 | #include <drm/drm_fb_cma_helper.h> | ||
24 | #include <drm/drm_gem_framebuffer_helper.h> | 22 | #include <drm/drm_gem_framebuffer_helper.h> |
25 | #include "vc4_drv.h" | 23 | #include "vc4_drv.h" |
26 | #include "vc4_regs.h" | 24 | #include "vc4_regs.h" |
@@ -394,7 +392,6 @@ vc4_atomic_check(struct drm_device *dev, struct drm_atomic_state *state) | |||
394 | } | 392 | } |
395 | 393 | ||
396 | static const struct drm_mode_config_funcs vc4_mode_funcs = { | 394 | static const struct drm_mode_config_funcs vc4_mode_funcs = { |
397 | .output_poll_changed = drm_fb_helper_output_poll_changed, | ||
398 | .atomic_check = vc4_atomic_check, | 395 | .atomic_check = vc4_atomic_check, |
399 | .atomic_commit = vc4_atomic_commit, | 396 | .atomic_commit = vc4_atomic_commit, |
400 | .fb_create = vc4_fb_create, | 397 | .fb_create = vc4_fb_create, |
@@ -434,9 +431,6 @@ int vc4_kms_load(struct drm_device *dev) | |||
434 | 431 | ||
435 | drm_mode_config_reset(dev); | 432 | drm_mode_config_reset(dev); |
436 | 433 | ||
437 | if (dev->mode_config.num_connector) | ||
438 | drm_fb_cma_fbdev_init(dev, 32, 0); | ||
439 | |||
440 | drm_kms_helper_poll_init(dev); | 434 | drm_kms_helper_poll_init(dev); |
441 | 435 | ||
442 | return 0; | 436 | return 0; |