From: Daniel Vetter Date: Thu, 11 Oct 2012 18:08:24 +0000 (+0200) Subject: drm/i915/crt: explicitly set up HOTPLUG_BITS on resume X-Git-Tag: v3.8-rc1~82^2~192^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9388923e83bc4e2726f170a984621f1d582e77;p=pandora-kernel.git 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 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed