drm/fb_helper: add connector reference counting. (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 27 Apr 2016 01:24:51 +0000 (11:24 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 5 May 2016 02:51:57 +0000 (12:51 +1000)
commit6e86d58be3d175ca950eb0dde05f175debc10ef3
tree731589d7e6f58d9fc10ff0029f129f31a2dea002
parentb164d31f50b2923a7a92c2a40cb46973a6ba8c36
drm/fb_helper: add connector reference counting. (v2)

This takes a reference count when fbdev adds the connector,
and drops it when it removes the connector.

It also drops the now unneeded code to find connectors
and remove the from the modeset as they are reference counted.

v2: drop references when removing all connectors at end.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c