diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2018-06-18 14:50:51 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-06-19 08:26:40 -0700 |
commit | 4c07e44ae5b6c5d81862f3ec31ea77c6c598cb52 (patch) | |
tree | 945edf09c9108bbc96dc9e7c1f8aa089f2839c80 | |
parent | 7540acb1372804357f3901a1dd6997805b14a41a (diff) |
virgl: Remove debugging left-overs
Some fprintfs were probably left unintentionally a few years ago and are
a bit of a nuisance.
Fixes: 2d3301e4d513 ("virgl: fix reference counting of prime handles")
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 9b1cb50ba47346dd8fcb8f2f5d69125d33a4a66e)
-rw-r--r-- | src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c index cf3c3bac4b..f47c73bdd0 100644 --- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c +++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c @@ -417,7 +417,6 @@ virgl_drm_winsys_resource_create_handle(struct virgl_winsys *qws, } res = util_hash_table_get(qdws->bo_handles, (void*)(uintptr_t)handle); - fprintf(stderr, "resource %p for handle %d, pfd=%d\n", res, handle, whandle->handle); if (res) { struct virgl_hw_res *r = NULL; virgl_drm_resource_reference(qdws, &r, res); @@ -431,7 +430,6 @@ virgl_drm_winsys_resource_create_handle(struct virgl_winsys *qws, if (whandle->type == DRM_API_HANDLE_TYPE_FD) { res->bo_handle = handle; } else { - fprintf(stderr, "gem open handle %d\n", handle); memset(&open_arg, 0, sizeof(open_arg)); open_arg.name = whandle->handle; if (drmIoctl(qdws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { |