commit | 2e9388923e83bc4e2726f170a984621f1d582e77 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Oct 11 20:08:24 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Oct 18 14:30:06 2012 +0200 |
tree | d35c1f1727320327f9ad15d9dcd4dd0c8e353c2d | |
parent | 912d812e84cea8689a2bf3dd13b11dfe191f0f1e [diff] |
drm/i915/crt: explicitly set up HOTPLUG_BITS on resume ... instead of relying on the register save/restore madness to do this. To extract a bit of code call drm_mode_config_reset both on resume and boot-up and move the hw state frobbing from the crt_init to the ->reset callback. The crt connector is the only one with a ->reset callback, hence we can easily do this. Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>