]> 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)
commitb3f8e818d622fa65c6376a1f5e346f96189aa385
tree0b231d0faa47f6ffd47302f83292f29b4150ed86
parent7a830430cfd6f0e764a731657206eaf894ce513f
drm/nouveau: make sure display hardware is reinitialised on runtime resume

Linus commit 71f4a58a760476f0e594a7a76a0e7cf63ced9c04 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