Mesa (main): zink: fix up KILL to a more sensible log message

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jun 13 20:27:47 UTC 2022


Module: Mesa
Branch: main
Commit: 399104f0498575f70cf0e8c369e8b888cfd70881
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=399104f0498575f70cf0e8c369e8b888cfd70881

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jun 13 15:19:30 2022 -0400

zink: fix up KILL to a more sensible log message

cc: mesa-stable

Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17009>

---

 src/gallium/drivers/zink/zink_kopper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_kopper.c b/src/gallium/drivers/zink/zink_kopper.c
index 0a68a6158cc..e6d5156d1d3 100644
--- a/src/gallium/drivers/zink/zink_kopper.c
+++ b/src/gallium/drivers/zink/zink_kopper.c
@@ -516,7 +516,7 @@ kill_swapchain(struct zink_context *ctx, struct zink_resource *res)
 {
    struct zink_screen *screen = zink_screen(ctx->base.screen);
    /* dead swapchain */
-   fprintf(stderr, "KILL %p\n", res);
+   mesa_loge("zink: swapchain killed %p\n", res);
    zink_batch_reference_resource(&ctx->batch, res);
    struct pipe_resource *pres = screen->base.resource_create(&screen->base, &res->base.b);
    zink_resource_object_reference(screen, &res->obj, zink_resource(pres)->obj);



More information about the mesa-commit mailing list