iris: Don't print out XXX messages if resource creation fails

Failing to create staging resources isn't necessarily a critical error,
and we probably don't want to be printing out XXX messages.  I mostly
had this here when bringing up the driver and resource creation was
failing because I'd done something wrong when writing the code.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Mark Janes markjanes@swizzler.org
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18311>
This commit is contained in:
Kenneth Graunke
2022-04-27 01:32:47 -07:00
committed by Marge Bot
parent 6a1f7e623f
commit d0c6f3d66b
-1
View File
@@ -1215,7 +1215,6 @@ iris_resource_create_with_modifiers(struct pipe_screen *pscreen,
return &res->base.b;
fail:
fprintf(stderr, "XXX: resource creation failed\n");
iris_resource_destroy(pscreen, &res->base.b);
return NULL;
}