drm/nouveau: fix oops on runtime suspend/resume
authorDave Airlie <airlied@gmail.com>
Sun, 8 Sep 2013 21:30:56 +0000 (07:30 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Sep 2013 02:38:53 +0000 (12:38 +1000)
commit01172772c7c973debf5b4881fcb9463891ea97ec
tree8ead82f4ea9a512130f49a13541c71b979f0e49c
parent48016851c89fcb1e9ea4daa7ace142e95f7875fe
drm/nouveau: fix oops on runtime suspend/resume

if we have no crtcs we need to not call the display resume code.

Reported-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c