]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms: prepare to support suspend/resume of display state with atomic
authorBen Skeggs <bskeggs@redhat.com>
Fri, 4 Nov 2016 07:20:36 +0000 (17:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:49 +0000 (14:04 +1000)
commite9ffb1f05d6e846457a6e8523605502181f90b5e
tree78675b1707d31059377a970f54f0a0715f27638a
parent6de61dfb7e32ad800bcb477f9628b2565aedd430
drm/nouveau/kms: prepare to support suspend/resume of display state with atomic

This is different from the equivilant functions in the atomic helpers in
that we fully disable the pipe instead of just setting it to inactive.

We do this (primarily) to ensure the framebuffer cleanup paths are hit,
allowing buffers to be un-pinned from memory so they can be evicted to
system memory and not lose their contents while suspended.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_display.h