aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_helper.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-09-02 22:05:01 -0400
committerDave Airlie <airlied@redhat.com>2012-09-02 22:05:01 -0400
commit65983bd605a12edd16a4f39f513aad65f1cad062 (patch)
treebf8c84598565c26e251efb9cb591977446e7e76b /drivers/gpu/drm/drm_fb_helper.c
parent93bb70e0c00f1be4cc857e4d8375c44058cce71e (diff)
parentd7c3b937bdf45f0b844400b7bf6fd3ed50bac604 (diff)
Merge branch 'for-airlied' of git://people.freedesktop.org/~danvet/drm-intel into drm-next
Daniel writes: "New stuff for -next. Highlights: - prep patches for the modeset rework. Note that one of those patches touches the fb helper in the common drm code. - hasw hdmi audio support (Wang Xingchao) - improved instdone dumping for gen7 (Ben) - unbound tracking and a few follow-up patches from Chris - dma_buf->begin/end_cpu_access plus fix for drm/udl (Dave) - improve mmio error reporting for hsw - prep patch for WQ_NON_REENTRANT removal (Tejun Heo) " * 'for-airlied' of git://people.freedesktop.org/~danvet/drm-intel: (41 commits) drm/i915: Remove __GFP_NO_KSWAPD drm/i915: disable rc6 on ilk when vt-d is enabled drm/i915: Avoid unbinding due to an interrupted pin_and_fence during execbuffer drm/i915: Use new INSTDONE registers (Gen7+) drm/i915: Add new INSTDONE registers drm/i915: Extract reading INSTDONE drm/i915: Use a non-blocking wait for set-to-domain ioctl drm/i915: Juggle code order to ease flow of the next patch drm/i915: Use cpu relocations if the object is in the GTT but not mappable drm/i915: Extract general object init routine drm/i915: Protect private gem objects from truncate (such as imported dmabuf) drm/i915: Only pwrite through the GTT if there is space in the aperture i915: use alloc_ordered_workqueue() instead of explicit UNBOUND w/ max_active = 1 drm/i915: Find unclaimed MMIO writes. drm/i915: Add ERR_INT to gen7 error state drm/i915: Cantiga+ cannot handle a hsync front porch of 0 drm/i915: fix reassignment of variable "intel_dp->DP" drm/i915: Try harder to allocate an mmap_offset drm/i915: Show pin count in debugfs drm/i915: Show (count, size) of purgeable objects in i915_gem_objects ...
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 061d26dd0751..eb79515797d9 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -1230,7 +1230,6 @@ static void drm_setup_crtcs(struct drm_fb_helper *fb_helper)
1230 struct drm_device *dev = fb_helper->dev; 1230 struct drm_device *dev = fb_helper->dev;
1231 struct drm_fb_helper_crtc **crtcs; 1231 struct drm_fb_helper_crtc **crtcs;
1232 struct drm_display_mode **modes; 1232 struct drm_display_mode **modes;
1233 struct drm_encoder *encoder;
1234 struct drm_mode_set *modeset; 1233 struct drm_mode_set *modeset;
1235 bool *enabled; 1234 bool *enabled;
1236 int width, height; 1235 int width, height;
@@ -1241,11 +1240,6 @@ static void drm_setup_crtcs(struct drm_fb_helper *fb_helper)
1241 width = dev->mode_config.max_width; 1240 width = dev->mode_config.max_width;
1242 height = dev->mode_config.max_height; 1241 height = dev->mode_config.max_height;
1243 1242
1244 /* clean out all the encoder/crtc combos */
1245 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
1246 encoder->crtc = NULL;
1247 }
1248
1249 crtcs = kcalloc(dev->mode_config.num_connector, 1243 crtcs = kcalloc(dev->mode_config.num_connector,
1250 sizeof(struct drm_fb_helper_crtc *), GFP_KERNEL); 1244 sizeof(struct drm_fb_helper_crtc *), GFP_KERNEL);
1251 modes = kcalloc(dev->mode_config.num_connector, 1245 modes = kcalloc(dev->mode_config.num_connector,