drm/i915: save/restore GMBUS freq across suspend/resume on gen4
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 10 Dec 2014 20:16:05 +0000 (12:16 -0800)
committerJani Nikula <jani.nikula@intel.com>
Thu, 11 Dec 2014 13:31:59 +0000 (15:31 +0200)
commit9f49c37635d5c2a801f7670d5fbf0b25ec461f2c
treec5e6dd24ca741825e6c8eacf71c16d4a1cf802bb
parent26459343e0fac1ea4cb5192c490e3e519eed74dd
drm/i915: save/restore GMBUS freq across suspend/resume on gen4

Should probably just init this in the GMbus code all the time, based on
the cdclk and HPLL like we do on newer platforms.  Ville has code for
that in a rework branch, but until then we can fix this bug fairly
easily.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76301
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Nikolay <mar.kolya@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c