diff options
author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2023-03-10 14:07:12 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:30:13 +0300 |
commit | a5dfb471bba18fc38dc623ff1fa4387f48dacba6 (patch) | |
tree | 22a12c05eb85947dced003f26f75738b70b33646 /drivers/gpu/drm/xe/xe_hw_fence.h | |
parent | 155c9165542863c97b5284afa37e3d8e385a8815 (diff) | |
download | linux-a5dfb471bba18fc38dc623ff1fa4387f48dacba6.tar.xz |
drm/xe: Use a small negative initial seqno
Causes an early 32-bit wrap and may thus help CI catch wrapping errors
that may otherwise not show early enough.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_hw_fence.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_hw_fence.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_hw_fence.h b/drivers/gpu/drm/xe/xe_hw_fence.h index 523c2611ef5d..cfe5fd603787 100644 --- a/drivers/gpu/drm/xe/xe_hw_fence.h +++ b/drivers/gpu/drm/xe/xe_hw_fence.h @@ -8,7 +8,8 @@ #include "xe_hw_fence_types.h" -#define XE_FENCE_INITIAL_SEQNO 1 +/* Cause an early wrap to catch wrapping errors */ +#define XE_FENCE_INITIAL_SEQNO (-127) int xe_hw_fence_module_init(void); void xe_hw_fence_module_exit(void); |