]> git.karo-electronics.de Git - linux-beck.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)
commit8ba8209fefb67edf2ecbb92e9f16008bfaa1b031
tree0ceaf0dc7a1f57a52d6b39fab8df82499433a46e
parent070839ea54bfb65f328d0aaaf99aa5b3b1273286
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