summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-03-22 00:14:43 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-01 12:25:29 +0200
commit55a254ac63a3ac1867d1501030e7fba69c7d4aeb (patch)
treea0438e133793dcce412879537d49214c29a8fefd /drivers/infiniband
parentf47166d2b0001fcb752b40c5a2d4db986dfbea68 (diff)
drm/i915: properly restore the ppgtt page directory on resume
The ppgtt page directory lives in a snatched part of the gtt pte range. Which naturally gets cleared on hibernate when we pull the power. Suspend to ram (which is what I've tested) works because despite the fact that this is a mmio region, it is actually back by system ram. Fix this by moving the page directory setup code to the ppgtt init code (which gets called on resume). This fixes hibernate on my ivb and snb. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions