summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2025-07-23 19:56:39 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2025-07-24 14:48:42 +0200
commit159afd92bae8153bdd8d8b34aea0d463fe19c978 (patch)
tree12b2c6925a649c7951bcc63734c6b3c11dacc4be /scripts/lib
parent538b27a09af974f2c5e7d358a24af7a722fa4bfc (diff)
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
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions