]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: Activate the gtt rebuild on suspend/resume
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Fri, 5 Apr 2013 22:15:21 +0000 (00:15 +0200)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Sun, 7 Apr 2013 15:09:32 +0000 (17:09 +0200)
commit367ebc961bfeee046dd3d8da60a14d3f0690e220
tree0ceaf0dc7a1f57a52d6b39fab8df82499433a46e
parent8bfd5e81badd1d29254f9473cae24b3241fd0bf5
drm/gma500: Activate the gtt rebuild on suspend/resume

This patch activates the rebuilding of the gtt. Currently we reinitialize the
gtt by inserting the stolen pages again and map the rest to our scratch page.
Then we go about restoring the needed ranges. This is a bit overkill but right
now we don't have that much to restore so better safe than sorry.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
drivers/gpu/drm/gma500/power.c