From: Daniel Vetter Date: Wed, 17 Oct 2012 09:32:57 +0000 (+0200) Subject: drm/i915: don't save/restore HWS_PGA reg for kms X-Git-Tag: v3.8-rc1~82^2~192^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c630119f43471a8ece356b01dabf07f944f453b3;p=pandora-kernel.git drm/i915: don't save/restore HWS_PGA reg for kms We already do that as part of the ringbuffer re-setup at resume time. Furthermore the register offset has moved on gen6+ around quite a bit, and on ilk/gm45 we also need to restore the HWS reg for the bsd ring, not just the render ring. So again in kms mode this is only confusing a best, hence don't bother. v2: Fixup logic, noticed by Paulo Zanoni. Reviewed-by: Paulo Zanoni Tested-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed