drm/i915: Make intel_dp->has_audio reflect hw state only
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 1 May 2017 13:38:00 +0000 (15:38 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 30 May 2017 08:33:26 +0000 (10:33 +0200)
commite6b72c949376ca7a594ea585e6c8d85053fbe440
tree592cfaad630cef01d4cb1f13d38c485de37fc55f
parentca937582d9b2e2d041fb8a9f087a93cd62f00c2f
drm/i915: Make intel_dp->has_audio reflect hw state only

Always detect if audio is available during edid detection.
With less magic switching it's easier to convert the dp connector
properties to atomic.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170501133804.8116-9-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c