]> Gentwo Git Trees - linux/.git/commit
drm/xe/pf: Drop the VF VRAM BO reference on successful restore
authorMichał Winiarski <michal.winiarski@intel.com>
Fri, 14 Nov 2025 10:07:13 +0000 (11:07 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Fri, 21 Nov 2025 07:40:47 +0000 (08:40 +0100)
commit0fd2f9f39af97396dd6c4a24926ff41aa0e3ec75
tree6c82ab236526e95c7e7cec1d7c7c948f28a64e98
parent4bb927139c4c6526bed6618cb4948bb029bc1575
drm/xe/pf: Drop the VF VRAM BO reference on successful restore

The reference is only dropped on error. Fix it by adding the missing
xe_bo_put().

Fixes: 49cf1b9b609fe ("drm/xe/pf: Handle VRAM migration data as part of PF control")
Reported-by: Adam Miszczak <adam.miszczak@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20251114100713.1776073-1-michal.winiarski@intel.com
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
(cherry picked from commit dab751b4240f0f0eadea81f93ff0b439379bc6ae)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c