]> Gentwo Git Trees - linux/.git/commit
drm/i915/frontbuffer: Extract intel_frontbuffer_ref()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2025 18:54:05 +0000 (21:54 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Nov 2025 15:38:17 +0000 (17:38 +0200)
commitbc2e56fa093c31489dac85f5a6ad460407bb1466
tree36ad871f9039b4a9ba17d1f2a03deb05c3fea4e5
parent3afef438eee38947ba7e8bb9b23d56d77c25f14b
drm/i915/frontbuffer: Extract intel_frontbuffer_ref()

I want to hide the kref from the high level frontbuffer code.
To that end abstract the kref_get() in intel_frontbuffer_queue_flush()
(which is the only high level function that needs this) as a new
intel_frontbuffer_ref().

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251016185408.22735-8-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_frontbuffer.c