diff options
| author | Matthew Brost <matthew.brost@intel.com> | 2026-01-07 10:27:15 -0800 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2026-01-07 21:29:39 -0800 |
| commit | 3902846af36beca676735540470a115b3d637263 (patch) | |
| tree | ae07e0c0cdd2c015e014d4d7eefc26b564b9ef14 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | cc54eabdfbf0c5b6638edc50002cfafac1f1e18b (diff) | |
drm/pagemap Fix error paths in drm_pagemap_migrate_to_devmem
Avoid unlocking and putting device pages unless they were successfully
locked, and do not calculate migrated_pages on error paths.
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Fixes: 75af93b3f5d0 ("drm/pagemap, drm/xe: Support destination migration over interconnect")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patch.msgid.link/20260107182716.2236607-2-matthew.brost@intel.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
