OSDN Git Service

drm/i915: Make modeset state verifier take crtc as argument.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 23 Mar 2016 13:58:06 +0000 (14:58 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 11 Apr 2016 08:32:56 +0000 (10:32 +0200)
commite7c84544757a405e430779e2ffe13ebe9b048361
treefa3636bdcb6aff080bd1e19f747d075144724827
parent5dd8e50c27cd9294e53fc4c4b25b86abc469a4d4
drm/i915: Make modeset state verifier take crtc as argument.

This will make it easier to keep the crtc checker when atomic
commit is reworked for asynchronous commits. This prevents checking
crtc's that were not part of the state. It's safe to verify disabled
encoders, connectors and dpll's that are not part of the state,
because during modeset connection_mutex is held.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458741487-23801-2-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
[mlankhorst: Extend commit message and rename check to verify.]
drivers/gpu/drm/i915/intel_display.c