diff options
author | Samuel Pitoiset <[email protected]> | 2020-04-29 13:24:36 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-06 06:44:21 +0000 |
commit | f03abd504102fc71ec0b18704a2ea3a92542b5f8 (patch) | |
tree | dc49e9ab284e02ba88b2be8d4e383c6fdb48c2e5 /src | |
parent | 9c62e63aca202bef07b20441618dd360b94b2f7d (diff) |
radv: report INITIALIZATION_FAILED when the amdgpu winsys init failed
The driver should be capable if it reaches the winsys initialization.
Cc: <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4806>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 638fe0325ac..a28440e5fe3 100644 --- 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_INCOMPATIBLE_DRIVER); + result = vk_error(instance, VK_ERROR_INITIALIZATION_FAILED); goto fail_fd; } |