commit | d0669d007542d7f4829a6a3db50297a4b940fb54 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Sep 18 20:03:45 2015 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Oct 13 13:21:15 2015 +0200 |
tree | d8b48f2648e6f720852b1b04914bf2c54220e438 | |
parent | 649636ef8274cb7bca10fceef2dca1e0813d8cef [diff] |
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>