aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast/ast_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/ast/ast_fb.c')
-rw-r--r--drivers/gpu/drm/ast/ast_fb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.c
index 3e6584b940dc..81763cad9940 100644
--- a/drivers/gpu/drm/ast/ast_fb.c
+++ b/drivers/gpu/drm/ast/ast_fb.c
@@ -40,6 +40,7 @@
40#include <drm/drmP.h> 40#include <drm/drmP.h>
41#include <drm/drm_crtc.h> 41#include <drm/drm_crtc.h>
42#include <drm/drm_fb_helper.h> 42#include <drm/drm_fb_helper.h>
43#include <drm/drm_crtc_helper.h>
43#include "ast_drv.h" 44#include "ast_drv.h"
44 45
45static void ast_dirty_update(struct ast_fbdev *afbdev, 46static void ast_dirty_update(struct ast_fbdev *afbdev,
@@ -314,6 +315,10 @@ int ast_fbdev_init(struct drm_device *dev)
314 } 315 }
315 316
316 drm_fb_helper_single_add_all_connectors(&afbdev->helper); 317 drm_fb_helper_single_add_all_connectors(&afbdev->helper);
318
319 /* disable all the possible outputs/crtcs before entering KMS mode */
320 drm_helper_disable_unused_functions(dev);
321
317 drm_fb_helper_initial_config(&afbdev->helper, 32); 322 drm_fb_helper_initial_config(&afbdev->helper, 32);
318 return 0; 323 return 0;
319} 324}