projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6966e48
)
drm/vc4: Remove open-coded drm_connector_register_all()
author
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 21 Jun 2016 09:28:02 +0000
(10:28 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 22 Jun 2016 07:57:28 +0000
(09:57 +0200)
drm_dev_register() will now register all known connectors, so we no
longer have to do so manually.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Eric Anholt <eric@anholt.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/1466501283-19976-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/vc4/vc4_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/vc4_drv.c
b/drivers/gpu/drm/vc4/vc4_drv.c
index 58b8fc036332a3852ea5c5c9cfd054b854b68753..0d866523e6677d001bf4cbaa9f152713b5ffb437 100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_drv.c
+++ b/
drivers/gpu/drm/vc4/vc4_drv.c
@@
-211,22
+211,10
@@
static int vc4_drm_bind(struct device *dev)
if (ret < 0)
goto unbind_all;
- /* Connector registration has to occur after DRM device
- * registration, because it creates sysfs entries based on the
- * DRM device.
- */
- list_for_each_entry(connector, &drm->mode_config.connector_list, head) {
- ret = drm_connector_register(connector);
- if (ret)
- goto unregister;
- }
-
vc4_kms_load(drm);
return 0;
-unregister:
- drm_dev_unregister(drm);
unbind_all:
component_unbind_all(dev, drm);
gem_destroy: