diff options
author | Dave Airlie <airlied@redhat.com> | 2014-09-15 05:55:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-15 05:55:55 -0400 |
commit | 19524f7c59c19854caf5b82d89bc558e38da5790 (patch) | |
tree | 92abeba64bc3aa9f4bde7e6d98d8215602069b18 /drivers/gpu/drm/drm_crtc.c | |
parent | 98faa78ce7f1f986e11e7805d31b409782a6d2d4 (diff) | |
parent | d0fa1af40e784aaf7ebb7ba8a17b229bb3fa4c21 (diff) |
Merge tag 'topic/core-stuff-2014-09-15' of git://anongit.freedesktop.org/drm-intel into drm-next
Here's the updated topic/core-stuff pull request with the two patches
already merged into drm-fixes dropped.
* tag 'topic/core-stuff-2014-09-15' of git://anongit.freedesktop.org/drm-intel:
drm: Drop modeset locking from crtc init function
drm/i915/hdmi: Enable pipe pixel replication for SD interlaced modes
drm/edid: Reduce horizontal timings for pixel replicated modes
drm: Include task->name and master status in debugfs clients info
drm/gem: Fix kerneldoc typo
drm: use c99 initializers in structures
drm: fix drm_modeset_lock.h kernel-doc notation
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 3a1801b8fc2f..0acb2de8e66e 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
@@ -680,11 +680,7 @@ int drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, | |||
680 | crtc->funcs = funcs; | 680 | crtc->funcs = funcs; |
681 | crtc->invert_dimensions = false; | 681 | crtc->invert_dimensions = false; |
682 | 682 | ||
683 | drm_modeset_lock_all(dev); | ||
684 | drm_modeset_lock_init(&crtc->mutex); | 683 | drm_modeset_lock_init(&crtc->mutex); |
685 | /* dropped by _unlock_all(): */ | ||
686 | drm_modeset_lock(&crtc->mutex, config->acquire_ctx); | ||
687 | |||
688 | ret = drm_mode_object_get(dev, &crtc->base, DRM_MODE_OBJECT_CRTC); | 684 | ret = drm_mode_object_get(dev, &crtc->base, DRM_MODE_OBJECT_CRTC); |
689 | if (ret) | 685 | if (ret) |
690 | goto out; | 686 | goto out; |
@@ -702,7 +698,6 @@ int drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, | |||
702 | cursor->possible_crtcs = 1 << drm_crtc_index(crtc); | 698 | cursor->possible_crtcs = 1 << drm_crtc_index(crtc); |
703 | 699 | ||
704 | out: | 700 | out: |
705 | drm_modeset_unlock_all(dev); | ||
706 | 701 | ||
707 | return ret; | 702 | return ret; |
708 | } | 703 | } |