aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2012-10-19 07:51:52 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-22 13:34:03 -0400
commit9cd300e038d492af4990b04e127e0bd2df64b1ca (patch)
treed40ffef7d09f6c85a554d2f1e0f5c559ad35f120 /drivers/gpu/drm/i915/intel_drv.h
parentebda95a9965dc6641deacc57ac480e01a378e19b (diff)
drm/i915: Move cached EDID to intel_connector
Move the cached EDID from intel_dp and intel_lvds_connector to intel_connector. Unify cached EDID handling for LVDS and eDP, in preparation for adding more generic EDID caching later. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 7fbb8ed447e4..26d70ea2f670 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -186,6 +186,9 @@ struct intel_connector {
186 186
187 /* Panel info for eDP and LVDS */ 187 /* Panel info for eDP and LVDS */
188 struct intel_panel panel; 188 struct intel_panel panel;
189
190 /* Cached EDID for eDP and LVDS. May hold ERR_PTR for invalid EDID. */
191 struct edid *edid;
189}; 192};
190 193
191struct intel_crtc { 194struct intel_crtc {
@@ -367,8 +370,6 @@ struct intel_dp {
367 int backlight_off_delay; 370 int backlight_off_delay;
368 struct delayed_work panel_vdd_work; 371 struct delayed_work panel_vdd_work;
369 bool want_panel_vdd; 372 bool want_panel_vdd;
370 struct edid *edid; /* cached EDID for eDP */
371 int edid_mode_count;
372 struct intel_connector *attached_connector; 373 struct intel_connector *attached_connector;
373}; 374};
374 375