drm/i915/dp: Cache EDID for a detection cycle
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Sep 2014 19:04:00 +0000 (20:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 10:37:00 +0000 (12:37 +0200)
commitbeb60608477ec4ae252ec16f9b4018c015b980cb
tree9f2e3b961bc43766817cb72c6baccf772e573b6a
parentd410b56d74bc706f414158cb0149e2a149ee1650
drm/i915/dp: 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: Implement connector->force() callback so that edid is associated
with the connector for user overrides as well (Ville)

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_dp.c
drivers/gpu/drm/i915/intel_drv.h