]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/fbdev: Hold runtime PM ref during fbdev BO creation
authorDibin Moolakadan Subrahmanian <dibin.moolakadan.subrahmanian@intel.com>
Tue, 11 Nov 2025 13:54:03 +0000 (19:24 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Wed, 19 Nov 2025 07:57:01 +0000 (13:27 +0530)
commit37fc7b7b3ab0e3bb900657199cd3770a4fda03fb
treefacb5841490f32019a80f93d89d62f2cf28f5e52
parentde72d9df4f453c08da3d4a15ce75fbd5f891bd2e
drm/i915/fbdev: Hold runtime PM ref during fbdev BO creation

During fbdev probe, the xe driver allocates and pins a framebuffer
BO (via xe_bo_create_pin_map_novm() → xe_ggtt_insert_bo()).

Without a runtime PM reference, xe_pm_runtime_get_noresume() warns about
missing outer PM protection as below:

xe 0000:03:00.0: [drm] Missing outer runtime PM protection

Acquire a runtime PM reference before framebuffer allocation to ensure
xe_ggtt_insert_bo()  executes  under active runtime PM context.

Changes in v2:
 - Update commit message to add Fixes tag (Jani Nikula)

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6350
Fixes: 44e694958b95 ("drm/xe/display: Implement display support")
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Dibin Moolakadan Subrahmanian <dibin.moolakadan.subrahmanian@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/20251111135403.3415947-1-dibin.moolakadan.subrahmanian@intel.com
drivers/gpu/drm/i915/display/intel_fbdev.c