]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb895f142964da0c29f8e247dad1fabee5326767b
tree9f2e3b961bc43766817cb72c6baccf772e573b6a
parente330665fce18b4f407b8c7c9058ed727d9e1bba2
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