Skip to content

Commit

Permalink
drm/kms/fb: separate fbdev connector list from core drm connectors
Browse files Browse the repository at this point in the history
This breaks the connection between the core drm connector list
and the fbdev connector usage, and allows them to become disjoint
in the future. It also removes the untype void* that was in the
connector struct to support this.

All connectors are added to the fbdev now but this could be
changed in the future.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Apr 7, 2010
1 parent 8be48d9 commit 0b4c0f3
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 141 deletions.
1 change: 0 additions & 1 deletion drivers/gpu/drm/drm_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ void drm_connector_cleanup(struct drm_connector *connector)
list_for_each_entry_safe(mode, t, &connector->user_modes, head)
drm_mode_remove(connector, mode);

kfree(connector->fb_helper_private);
mutex_lock(&dev->mode_config.mutex);
drm_mode_object_put(dev, &connector->base);
list_del(&connector->head);
Expand Down
Loading

0 comments on commit 0b4c0f3

Please sign in to comment.