]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Prepare connectors for nonblocking checks.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 17 May 2016 13:08:00 +0000 (15:08 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 19 May 2016 12:38:59 +0000 (14:38 +0200)
commit71be3424ecdbdb6248452e15404f93633b368582
tree94aaf06c814236263f7eacffaff96736efb5f5a7
parentcacd10bba6729b5f1d9215303a9f84f8f29da919
drm/i915: Prepare connectors for nonblocking checks.

intel_unpin_work may not take the list lock because it requires the connector_mutex.
To prevent taking locks we add an array of old and new state. The old state to free,
the new state to commit and verify.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463490484-19540-18-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h