[PATCH] kopper: Revert "kopper: Explicitly choose zink"
authorYiwei Zhang <zzyiwei@chromium.org>
Sat, 17 May 2025 19:50:28 +0000 (12:50 -0700)
committerTimo Aaltonen <tjaalton@debian.org>
Tue, 17 Jun 2025 09:07:43 +0000 (12:07 +0300)
commitca4c515b350d447d2c1363815e3867ebbbb6b3e9
treeb55c575667c21be643678a85515fec80feafcaec
parentcc1651974d4fab0c5f786e34a10bc55cc24d5ff8
[PATCH] kopper: Revert "kopper: Explicitly choose zink"

This reverts commit 854bc2ee05f90e426f318352682144050e402d4b.

Forcing zink explicitly would get zink-on-lvp picked up over llvmpipe
for gbm dri support, which is not intended. Currently, zink_screen's
choose_pdev won't be able to reject it when the driver name is explicit.
So we have to revert the change first to mitigate regressions.

Reported-by: @n3rdopolis @0xnihilo
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13009
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13053
Fixes: 854bc2ee05f ("kopper: Explicitly choose zink")
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35039>
(cherry picked from commit e6481d3f42e0cd735fda38fb3029e6f8abf5a0e6)

Gbp-Pq: Name kopper-Revert-kopper-Explicitly-choose-zink.patch
src/gallium/frontends/dri/kopper.c