drm/i915/hdmi: Cache EDID for a detection cycle
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Sep 2014 19:04:01 +0000 (20:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 10:37:01 +0000 (12:37 +0200)
commit953ece69711bfc51c57ef3976c84594b2fadbcb3
tree971372e56dbaca715ae110434c2aee34d50e9048
parentbeb60608477ec4ae252ec16f9b4018c015b980cb
drm/i915/hdmi: Cache EDID for a detection cycle

As we may query the edid multiple times following a detect, record the
EDID found during output discovery and reuse it. This is a separate
issue from caching the output EDID across detection cycles.

v2: Also hookup the force() callback for audio detection when the user
forces the connection status.
v3: Ville spots a typo, s/==/!=/

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c