aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-05-31 01:49:38 +0200
committerBas Nieuwenhuizen <[email protected]>2018-05-31 11:51:23 +0200
commitb9fb2c266a4b1058a1f7befd97320769d5d0a18b (patch)
tree461673b487b0809a8da9f48699ea8175a1d6a697 /src/amd/vulkan/radv_debug.h
parent38933c11514696505e49fd8036ebd1d1e62fa6ec (diff)
radv: Add startup debug option.
This adds a RADV_DEBUG=startup option to dump more info about instance creation and device enumeration. A common question end users have is why the direver is not loading for them, and this has two common reasons: 1) They did not install the driver. 2) AMDGPU is not used for the card in the kernel. This adds some info messages so we can easily get a some useful output from end users. Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r--src/amd/vulkan/radv_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h
index e59f4898f0a..762b3382194 100644
--- a/src/amd/vulkan/radv_debug.h
+++ b/src/amd/vulkan/radv_debug.h
@@ -47,6 +47,7 @@ enum {
RADV_DEBUG_NO_OUT_OF_ORDER = 0x20000,
RADV_DEBUG_INFO = 0x40000,
RADV_DEBUG_ERRORS = 0x80000,
+ RADV_DEBUG_STARTUP = 0x100000,
};
enum {