projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c62e63
)
radv: report INITIALIZATION_FAILED when the amdgpu winsys init failed
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 29 Apr 2020 11:24:36 +0000
(13:24 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 6 May 2020 06:44:21 +0000
(06:44 +0000)
The driver should be capable if it reaches the winsys initialization.
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4806>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index 638fe0325ac99cd7af527f45881a83ef3b1d4b48..a28440e5fe3a6221d984932dcbb41e345f6a4ff0 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-296,7
+296,7
@@
radv_physical_device_init(struct radv_physical_device *device,
}
if (!device->ws) {
- result = vk_error(instance, VK_ERROR_IN
COMPATIBLE_DRIVER
);
+ result = vk_error(instance, VK_ERROR_IN
ITIALIZATION_FAILED
);
goto fail_fd;
}