]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: make sure display hardware is reinitialised on runtime resume
authorBen Skeggs <bskeggs@redhat.com>
Thu, 2 Oct 2014 03:22:27 +0000 (13:22 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Oct 2014 03:32:24 +0000 (13:32 +1000)
commit4649df767d76e9d1fdd61e65d2a56299d7768ff5
tree0b231d0faa47f6ffd47302f83292f29b4150ed86
parentd616e0995fbd25edaa2b63315a8fa678d8167139
drm/nouveau: make sure display hardware is reinitialised on runtime resume

Linus commit d90b0e67300cec62f9725a0f6038d77262fd55b4 modified the
runtime suspend/resume paths to skip over display-related tasks to
avoid locking issues on resume.

Unfortunately, this resulted in the display hardware being left in
a partially initialised state, preventing subsequent modesets from
completing.

This commit unifies the (many) suspend/resume paths, bringing back
display (and fbcon) handling in the runtime paths.

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