diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-07-23 20:56:39 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-07-28 17:22:38 +0300 |
commit | a2e1407eb8405e59c56b2325d910a73fd917eb3e (patch) | |
tree | ea62e9f365f700794c944dee1765ad5b6f1d4a24 /scripts/gdb/linux/xarray.py | |
parent | cccb918e0231fefba059f049acced18760242136 (diff) | |
download | linux-a2e1407eb8405e59c56b2325d910a73fd917eb3e.tar.xz |
drm/xe/guc: Clear whole g2h_fence during initialization
The struct g2h_fence must be explicitly initializated using the
g2h_fence_init() function to avoid trash values in its members,
but we missed to update this helper function with the new member.
To fix that and avoid any future mistakes, memset the whole struct
first, then update remaining non-zero members.
Fixes: 94de94d24ea8 ("drm/xe/guc: Cancel ongoing H2G requests when stopping CT")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250723175639.206875-1-michal.wajdeczko@intel.com
(cherry picked from commit 159afd92bae8153bdd8d8b34aea0d463fe19c978)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions