diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-11 14:24:46 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-01-14 12:38:32 +1000 |
commit | b04a590623661132fbafdda53a6566b227dc39cf (patch) | |
tree | 864907c8b2e278c3646d0219f241d42f11372815 /drivers/gpu/drm/omapdrm/omap_debugfs.c | |
parent | faf096ffba2b1a4066e6d6dcd1243cc5f3d1fb23 (diff) | |
download | blackbird-op-linux-b04a590623661132fbafdda53a6566b227dc39cf.tar.gz blackbird-op-linux-b04a590623661132fbafdda53a6566b227dc39cf.zip |
drm: store the gem vma offset manager in a typed pointer
This was hidden in a generic void * dev->mm_private. But only ever
used for gem. But thanks to this fake generic pretension no one
noticed that Rob's drm drivers are now all broken.
So just give the offset manager a type pointer and fix up msm, omapdrm
and tilcdc.
v2: Fixup compile fail.
v3: Fixup rebase fail that David spotted.
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_debugfs.c b/drivers/gpu/drm/omapdrm/omap_debugfs.c index c27f59da7f29..d4c04d69fc4d 100644 --- a/drivers/gpu/drm/omapdrm/omap_debugfs.c +++ b/drivers/gpu/drm/omapdrm/omap_debugfs.c @@ -48,7 +48,7 @@ static int mm_show(struct seq_file *m, void *arg) { struct drm_info_node *node = (struct drm_info_node *) m->private; struct drm_device *dev = node->minor->dev; - return drm_mm_dump_table(m, dev->mm_private); + return drm_mm_dump_table(m, &dev->vma_offset_manager->vm_addr_space_mm); } static int fb_show(struct seq_file *m, void *arg) |