radv: report INITIALIZATION_FAILED when the amdgpu winsys init failed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Apr 2020 11:24:36 +0000 (13:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 6 May 2020 06:44:21 +0000 (06:44 +0000)
commitf03abd504102fc71ec0b18704a2ea3a92542b5f8
treedc49e9ab284e02ba88b2be8d4e383c6fdb48c2e5
parent9c62e63aca202bef07b20441618dd360b94b2f7d
radv: report INITIALIZATION_FAILED when the amdgpu winsys init failed

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