[Intel-gfx] [PATCH 29/43] drm/fb: don't NULL encoder CRTCs at fb init time

Chris Wilson chris at chris-wilson.co.uk
Fri May 25 14:33:08 CEST 2012


From: Jesse Barnes <jbarnes at virtuousgeek.org>

---
 drivers/gpu/drm/drm_fb_helper.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 391fc41..3c7b876 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -1242,11 +1242,6 @@ static void drm_setup_crtcs(struct drm_fb_helper *fb_helper)
 	width = dev->mode_config.max_width;
 	height = dev->mode_config.max_height;
 
-	/* clean out all the encoder/crtc combos */
-	list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
-		encoder->crtc = NULL;
-	}
-
 	crtcs = kcalloc(dev->mode_config.num_connector,
 			sizeof(struct drm_fb_helper_crtc *), GFP_KERNEL);
 	modes = kcalloc(dev->mode_config.num_connector,
-- 
1.7.10




More information about the Intel-gfx mailing list