]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/{i915, xe}/display: Add display runtime pm parent interface
authorJouni Högander <jouni.hogander@intel.com>
Thu, 30 Oct 2025 20:28:32 +0000 (22:28 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 3 Nov 2025 09:55:20 +0000 (11:55 +0200)
commit1914d6861b594dde7cbb359ab1ba43f2e3a82f91
tree071e0d25c5b60ad3e1b62274314a50623209b011
parentb3c8fa0d9c2650ab9bdc7ccc980a6826c4f9021d
drm/{i915, xe}/display: Add display runtime pm parent interface

We have differing implementations for display runtime pm in i915 and xe
drivers. Add struct of function pointers into display_parent_interface
which will contain used implementation of runtime pm.

v2:
  - add _interface suffix to rpm function pointer struct
  - add struct ref_tracker forward declaration
  - use kernel-doc comments

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patch.msgid.link/20251030202836.1815680-3-jouni.hogander@intel.com
include/drm/intel/display_parent_interface.h