aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorZhanjun Dong <zhanjun.dong@intel.com>2025-07-21 17:45:20 -0400
committerJohn Harrison <John.C.Harrison@Intel.com>2025-07-22 10:46:52 -0700
commit176f44a5ec0b074aaf44852db77d0c183c36696d (patch)
tree6fe2d4b648f182c0e36daca9899c29cf7e7fb8b7 /drivers/gpu
parentdrm/xe: Fix an IS_ERR() vs NULL bug in xe_tile_alloc_vram() (diff)
downloadlinux-176f44a5ec0b074aaf44852db77d0c183c36696d.tar.gz
linux-176f44a5ec0b074aaf44852db77d0c183c36696d.zip
drm/xe/uc: Fix missing unwind goto
Fix missing unwind goto on error handling. Fixes: b2c4ac219fa4 ("drm/xe/uc: Disable GuC communication on hardware initialization error") Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://lore.kernel.org/r/20250721214520.954014-1-zhanjun.dong@intel.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/xe/xe_uc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_uc.c b/drivers/gpu/drm/xe/xe_uc.c
index 3e0c3af235f2..465bda355443 100644
--- a/drivers/gpu/drm/xe/xe_uc.c
+++ b/drivers/gpu/drm/xe/xe_uc.c
@@ -164,7 +164,7 @@ static int vf_uc_load_hw(struct xe_uc *uc)
err = xe_guc_opt_in_features_enable(&uc->guc);
if (err)
- return err;
+ goto err_out;
err = xe_gt_record_default_lrcs(uc_to_gt(uc));
if (err)