]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/display: Use a sub-struct for fbc operations in intel_display
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Thu, 27 Nov 2025 11:53:47 +0000 (13:53 +0200)
committerVinod Govindapillai <vinod.govindapillai@intel.com>
Thu, 4 Dec 2025 10:06:23 +0000 (12:06 +0200)
commit6cc3776b1f41cfc10bbe3dc6c70d0bf036a868d8
treeddea8aa57917e2be29bbad0bbb0795532c06289b
parent1552691f960a9ee182a80b754d076e055b7545c5
drm/i915/display: Use a sub-struct for fbc operations in intel_display

As FBC can utilize the system cache in xe3p_lpd onwards, we need
a provision to track which fbc instance is utilizing this cache.
A sub-struct at intel_display level to group all the fbc ops will
make fbc handling much easier. Introduce a fbc sub-struct and move
the fbc instance array into that.

v2: changes in commit message

Suggested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patch.msgid.link/20251127115349.249120-2-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/i9xx_plane.c
drivers/gpu/drm/i915/display/intel_display_core.h
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/i915/display/skl_universal_plane.c