drm/i915: move lvds_border_bits to pipe_config
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Apr 2013 20:52:16 +0000 (22:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Apr 2013 14:16:14 +0000 (16:16 +0200)
commit68fc874289e58e62bd0820db0d52150ce6d9fe03
treea088d2f161bfb65470284d8ac6daf17ad76e18e2
parentf49e38dd23d28d4fceea1e84ae444b4c25fc0407
drm/i915: move lvds_border_bits to pipe_config

pipe_config is the new dev_priv!

More seriously, this is actually better since a pipe_config can be
thrown away if the modeset compute config stage fails. Whereas any
state stored in dev_prive needs to be painstakingly restored, since
otherwise a dpms off/on will wreak massive havoc. Yes, that even
applies to state only used in ->mode_set callbacks, since we need to
call those even for dpms on when the Haswell power well cleared
everything out.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_panel.c