]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/oa: Fix "Missing outer runtime PM protection" warning
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Sat, 9 Nov 2024 03:20:03 +0000 (19:20 -0800)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 13 Nov 2024 18:06:19 +0000 (10:06 -0800)
commitb107c63d2953907908fd0cafb0e543b3c3167b75
tree3f83d3c264b1f1a68335e5c939a2da5a3ed8af6f
parentdb696095b08fb7186fedb93ce216f67121ec9b44
drm/xe/oa: Fix "Missing outer runtime PM protection" warning

Fix the following drm_WARN:

[953.586396] xe 0000:00:02.0: [drm] Missing outer runtime PM protection
...
<4> [953.587090]  ? xe_pm_runtime_get_noresume+0x8d/0xa0 [xe]
<4> [953.587208]  guc_exec_queue_add_msg+0x28/0x130 [xe]
<4> [953.587319]  guc_exec_queue_fini+0x3a/0x40 [xe]
<4> [953.587425]  xe_exec_queue_destroy+0xb3/0xf0 [xe]
<4> [953.587515]  xe_oa_release+0x9c/0xc0 [xe]

Suggested-by: John Harrison <john.c.harrison@intel.com>
Suggested-by: Matthew Brost <matthew.brost@intel.com>
Fixes: e936f885f1e9 ("drm/xe/oa/uapi: Expose OA stream fd")
Cc: stable@vger.kernel.org
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241109032003.3093811-1-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/xe_oa.c