drm/nouveau/pm: init only after display subsystem has been created
authorBen Skeggs <bskeggs@redhat.com>
Wed, 1 Feb 2012 05:17:07 +0000 (15:17 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:14:57 +0000 (17:14 +1000)
commit7d3a766b6aa4e293e72bfd6add477f05ac7fdf5a
tree4ac0175b60a521dc0ca8b669cda633b607fcc05c
parent950c44b6ddc0dfb44e59fdb031e09567a1b391c0
drm/nouveau/pm: init only after display subsystem has been created

This patch fixes an oops cause by pm_trigger accessing the (uninitialised)
crtc list.

Reported-by: Roy Spliet <r.spliet@student.tudelft.nl>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c