summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fb_cma_helper.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-09 23:44:35 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-22 17:29:37 +0200
commite4f62546325724168e0b7ee7180762cb07859ca7 (patch)
tree8f864b5c58ffaeec97f10f947b96e67c5eaf915d /drivers/gpu/drm/drm_fb_cma_helper.c
parent9e75c0ef1428ae8a6bfb340ba2402471752c4af5 (diff)
downloadop-kernel-dev-e4f62546325724168e0b7ee7180762cb07859ca7.zip
op-kernel-dev-e4f62546325724168e0b7ee7180762cb07859ca7.tar.gz
drm: Roll out drm_for_each_{plane,crtc,encoder}
Remaining manual work in the drm core&helpers. Nothing special here, no surprises. Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_cma_helper.c')
-rw-r--r--drivers/gpu/drm/drm_fb_cma_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c
index 46c4e6e..f01dc25 100644
--- a/drivers/gpu/drm/drm_fb_cma_helper.c
+++ b/drivers/gpu/drm/drm_fb_cma_helper.c
@@ -211,7 +211,7 @@ int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg)
struct drm_framebuffer *fb;
mutex_lock(&dev->mode_config.fb_lock);
- list_for_each_entry(fb, &dev->mode_config.fb_list, head)
+ drm_for_each_fb(fb, dev)
drm_fb_cma_describe(fb, m);
mutex_unlock(&dev->mode_config.fb_lock);
OpenPOWER on IntegriCloud