drm/kms: protect against fb helper not being created.
authorDave Airlie <airlied@linux.ie>
Fri, 25 Sep 2009 20:39:00 +0000 (06:39 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 25 Sep 2009 20:39:00 +0000 (06:39 +1000)
commit8ef8678c8f6131ca5941fa387cd3939c68c4f36d
treeb937ca4a7763aec284f311947d323310dbdfbcfa
parentadea4796cfb9b74d340f9e32ba523fb61305d0b7
drm/kms: protect against fb helper not being created.

If drivers don't init the fb helper on the connector, the cmdline
code won't work, but it shouldn't crash either.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_fb_helper.c