diff options
author | Dave Airlie <airlied@redhat.com> | 2013-05-10 14:35:48 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-05-10 14:35:48 +1000 |
commit | f3c58ceef014ea7f8a253b50b8af81b3b898bc77 (patch) | |
tree | aa0f9ebbf9a8cf51d1373153d4c8816978516640 /drivers/gpu/drm/drm_crtc.c | |
parent | 307b9c022720f9de90d58e51743e01e9a42aec59 (diff) | |
parent | 1ffc5289bfcf7f4c4e4213240bb4be68c48ce603 (diff) | |
download | blackbird-op-linux-f3c58ceef014ea7f8a253b50b8af81b3b898bc77.tar.gz blackbird-op-linux-f3c58ceef014ea7f8a253b50b8af81b3b898bc77.zip |
Merge branch 'for-linux-next' of git://people.freedesktop.org/~danvet/drm-intel into drm-next
Daniel writes:
A few intel fixes for smaller issues and one revert for an sdv hack which
we've wanted to kill anyway. Plus two drm patches included for your
convenience, both regression fixers for mine own screw-ups.
+ both fixes for stolen mem handling.
* 'for-linux-next' of git://people.freedesktop.org/~danvet/drm-intel:
drm/i915: clear the stolen fb before resuming
Revert "drm/i915: Calculate correct stolen size for GEN7+"
drm/i915: hsw: fix link training for eDP on port-A
Revert "drm/i915: revert eDP bpp clamping code changes"
drm: don't check modeset locks in panic handler
drm/i915: Fix pipe enabled mask for pipe C in WM calculations
drm/mm: fix dump table BUG
drm/i915: Always normalize return timeout for wait_timeout_ioctl
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 3a8f7e6db295..d7c449f0b110 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -78,6 +78,10 @@ void drm_warn_on_modeset_not_all_locked(struct drm_device *dev) { struct drm_crtc *crtc; + /* Locking is currently fubar in the panic handler. */ + if (oops_in_progress) + return; + list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) WARN_ON(!mutex_is_locked(&crtc->mutex)); |