intel: move debug identifier out of libintel_dev
The debug identifier is put into the captured buffers for error capture. This helps us figure out what version of the driver people are running when encountering a GPU hang. This identifier has the git-sha1 + driver name. libintel_dev is also a dependency of the compiler so any change to the git-sha1 also triggers recompile which we want to avoid. This changes moves the debug identifier to src/intel/common which drivers already depend on, so the compiler is not affected anymore. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11136 Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29128>
This commit is contained in:
committed by
Marge Bot
parent
4882f49e6b
commit
36c043e2eb
@@ -32,6 +32,8 @@
|
||||
#include "anv_private.h"
|
||||
#include "anv_measure.h"
|
||||
|
||||
#include "common/intel_debug_identifier.h"
|
||||
|
||||
#include "genxml/gen8_pack.h"
|
||||
#include "genxml/genX_bits.h"
|
||||
#include "perf/intel_perf.h"
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
#include "vk_deferred_operation.h"
|
||||
#include "vk_drm_syncobj.h"
|
||||
#include "common/i915/intel_defines.h"
|
||||
#include "common/intel_debug_identifier.h"
|
||||
#include "common/intel_uuid.h"
|
||||
#include "perf/intel_perf.h"
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include "vk_semaphore.h"
|
||||
#include "vk_util.h"
|
||||
|
||||
#include "common/intel_debug_identifier.h"
|
||||
|
||||
static PFN_vkVoidFunction
|
||||
anv_wsi_proc_addr(VkPhysicalDevice physicalDevice, const char *pName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user