drm: Catch stop possible NULL pointer reference
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 3 Aug 2009 12:43:59 +0000 (13:43 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2009 03:29:49 +0000 (13:29 +1000)
This was caught by Weiss. Also added some comments to the
fb_changed and mode_changed variables to explain what they do.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Tested-by: Thomas White <taw@bitwiz.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found