mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
panvk: Silence warning on incompatible DRM render devices
This message is printed on non-panfrost/panthor systems on every
physical device enumeration when panvk is present like in distribution
mesa builds.
This "breaks" gtk-4 tests in the default configuration since they fail
on warning log messages. gtk-4 still forwards the vulkan debug report as
warning messages after fixes for issue 11451 to stop handling it as
critical message.
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: d970fe2e9d ("panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11451
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32822>
This commit is contained in:
parent
407186994c
commit
b06b62bb13
1 changed files with 1 additions and 3 deletions
|
|
@ -68,9 +68,7 @@ create_kmod_dev(struct panvk_physical_device *device,
|
|||
if (strcmp(version->name, "panfrost") && strcmp(version->name, "panthor")) {
|
||||
drmFreeVersion(version);
|
||||
close(fd);
|
||||
return panvk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
|
||||
"device %s does not use the panfrost kernel driver",
|
||||
path);
|
||||
return VK_ERROR_INCOMPATIBLE_DRIVER;
|
||||
}
|
||||
|
||||
drmFreeVersion(version);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue