]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: implement new pm ops for i915
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 16 Dec 2009 05:36:10 +0000 (13:36 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 16 Dec 2009 17:41:32 +0000 (09:41 -0800)
commit18df68c88f7b0c4a616ceca404d82b30c50bcf41
tree17d07c462b4baa270ac1e3ed43f7bd755a40c595
parentc3a0b0cc2b36703b785c494d0d063443dcc873b8
drm/i915: implement new pm ops for i915

One problem in i915 hibernate with current legacy pci pm ops is
that after we do freeze, we'll be forced to do resume once again,
which re-init some resources and do modesetting again, that is
unnecessary for hibernate. This patch trys to bypass that.

We can't resolve this within legacy pm framework, but can do it
easily with new pm ops. Suspend (S3) process has also been kept
without change.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.c