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 (cherry picked from commitb06b62bb13
) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32852>
This commit is contained in:

committed by
Dylan Baker

parent
f63534c991
commit
6e0fce2a6e
@@ -74,7 +74,7 @@
|
||||
"description": "panvk: Silence warning on incompatible DRM render devices",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d970fe2e9d6a8e9997a0ce212146d62013b3b455",
|
||||
"notes": null
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user