]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm/i915: Save/restore HWS_PGA on suspend/resume
authorPeng Li <peng.li@intel.com>
Tue, 18 Nov 2008 04:39:02 +0000 (12:39 +0800)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Nov 2008 05:47:25 +0000 (15:47 +1000)
commit461cba2d294fe83297edf8a6556912812903dce1
tree19c7cd768bbbc5a35b124dc856e109a8b2ddff5f
parent52440211dcdc52c0b757f8b34d122e11b12cdd50
drm/i915: Save/restore HWS_PGA on suspend/resume

It fixes suspend/resume failure of xf86-video-intel dri2
branch. As dri2 branch doesn't call I830DRIResume() to restore
hardware status page anymore, we need to preserve
this register across suspend/resume.

Signed-off-by: Peng Li <peng.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c