]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Release runtime pm for error path of xe_devcoredump_read()
authorShuicheng Lin <shuicheng.lin@intel.com>
Mon, 7 Jul 2025 00:49:14 +0000 (00:49 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 8 Jul 2025 22:11:37 +0000 (15:11 -0700)
commit017ef1228d735965419ff118fe1b89089e772c42
tree28567eb12356576369f071b35e98fea2d0ec8c34
parent8ce560d8e1c6449adb9dc5517ef91404c7810c94
drm/xe: Release runtime pm for error path of xe_devcoredump_read()

xe_pm_runtime_put() is missed to be called for the error path in
xe_devcoredump_read().
Add function description comments for xe_devcoredump_read() to help
understand it.

v2: more detail function comments and refine goto logic (Matt)

Fixes: c4a2e5f865b7 ("drm/xe: Add devcoredump chunking")
Cc: stable@vger.kernel.org
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250707004911.3502904-6-shuicheng.lin@intel.com
drivers/gpu/drm/xe/xe_devcoredump.c