Ville Syrjälä d0669d0075 drm/i915: Clean up LVDS register handling
Keep single 'lvds_reg' and 'lvds' variable around in
intel_lvds_init(), and read it just once at the start.

Also intel_lvds_get_config() doesn't need to figure out which reg to use
since it can just consult lvds_encoder->reg.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-10-13 13:21:15 +02:00
..
2015-09-30 10:20:11 +02:00
2015-09-30 10:20:11 +02:00
2015-09-30 10:20:11 +02:00
2015-09-30 10:20:11 +02:00
2015-09-30 10:20:11 +02:00
2015-09-30 10:20:11 +02:00
2015-09-30 10:20:11 +02:00
2015-10-02 14:45:51 +02:00
2015-10-02 14:45:51 +02:00
2015-09-30 10:20:11 +02:00
2015-10-07 16:05:41 +02:00