[Mesa-dev] [PATCH] virgl: Remove debugging left-overs
Dave Airlie
airlied at gmail.com
Mon Jun 18 20:21:20 UTC 2018
On 18 June 2018 at 22:50, Tomeu Vizoso <tomeu.vizoso at collabora.com> wrote:
> Some fprintfs were probably left unintentionally a few years ago and are
> a bit of a nuisance.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
> Cc: Signed-off-by: Rob Herring <robh at kernel.org>
> Fixes: 2d3301e4d513 ("virgl: fix reference counting of prime handles")
Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
> src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 2 --
> 1 file changed, 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 fb15708ddb19..aad6430c417d 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 == WINSYS_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)) {
> --
> 2.17.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list