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:
Lionel Landwerlin
2024-05-10 08:57:55 +03:00
committed by Marge Bot
parent 4882f49e6b
commit 36c043e2eb
19 changed files with 227 additions and 174 deletions
+1
View File
@@ -40,6 +40,7 @@
#include "aubinator_error_decode_lib.h"
#include "aubinator_error_decode_xe.h"
#include "common/intel_debug_identifier.h"
#include "compiler/brw_compiler.h"
#include "compiler/elk/elk_compiler.h"
#include "decoder/intel_decoder.h"
+1
View File
@@ -46,6 +46,7 @@
#include "c11/threads.h"
#include "dev/intel_debug.h"
#include "dev/intel_device_info.h"
#include "common/intel_debug_identifier.h"
#include "common/intel_gem.h"
#include "util/macros.h"
#include "util/u_math.h"