summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/virtio
diff options
context:
space:
mode:
authorChristian König2017-08-07 11:13:41 +0200
committerAlex Deucher2017-08-17 21:45:59 +0200
commit373533f80b89f0f4fb59b65c2942d1b20b91319c (patch)
treeb60b2d74141a405001a006ecc96ce4f5bbfc7f51 /drivers/gpu/drm/virtio
parentdrm/amd/amdgpu: Add tracepoint for DMA page mapping (v4) (diff)
downloadkernel-qcow2-linux-373533f80b89f0f4fb59b65c2942d1b20b91319c.tar.gz
kernel-qcow2-linux-373533f80b89f0f4fb59b65c2942d1b20b91319c.tar.xz
kernel-qcow2-linux-373533f80b89f0f4fb59b65c2942d1b20b91319c.zip
drm/ttm: make ttm_mem_type_manager_func debug more useful
Provide the drm printer directly instead of just the callback. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/virtio')
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_ttm.c b/drivers/gpu/drm/virtio/virtgpu_ttm.c
index e695d74eaa9f..cd389c5eaef5 100644
--- a/drivers/gpu/drm/virtio/virtgpu_ttm.c
+++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c
@@ -192,7 +192,7 @@ static int ttm_bo_man_takedown(struct ttm_mem_type_manager *man)
}
static void ttm_bo_man_debug(struct ttm_mem_type_manager *man,
- const char *prefix)
+ struct drm_printer *printer)
{
}