drm/i915: Use atomic state and connector_type in i915_sink_src
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 20 Jun 2016 13:57:38 +0000 (15:57 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 21 Jun 2016 11:54:18 +0000 (13:54 +0200)
commit26c17cf65cd69733fde1487797d081fb54b08e05
treef2389e08b5c8fb0d884e9f90436072f8e911232a
parentb6dabe3bbd1418a6ed71adf7bb9a940e57ccfdd8
drm/i915: Use atomic state and connector_type in i915_sink_src

DPMS is unreliable, use crtc->state.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466431059-8919-4-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c