]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/xe3p_lpd: use pixel normalizer for fp16 formats for FBC
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Mon, 27 Oct 2025 13:40:01 +0000 (15:40 +0200)
committerVinod Govindapillai <vinod.govindapillai@intel.com>
Fri, 31 Oct 2025 11:32:16 +0000 (13:32 +0200)
commit5298eea7ed209ff14aebce70ae11f212bab37f9f
tree3ca2183bb3381dbd1e72298c83360d48a649065c
parentaa1625abae53646e87573786fdf789ea6e1858f7
drm/i915/xe3p_lpd: use pixel normalizer for fp16 formats for FBC

There is a hw restriction that we could enable the FBC for FP16
formats only if the pixel normalization block is enabled. Hence
enable the pixel normalizer block with normalzation factor as
1.0 for the supported FP16 formats to get the FBC enabled. Two
existing helper function definitions are moved up to avoid the
forward declarations as part of this patch as well.

v2: sw/hw state differentiation on handling pixel normalizer (Jani)

Bspec: 69863, 68881
Cc: Shekhar Chauhan <shekhar.chauhan@intel.com>
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patch.msgid.link/20251027134001.325064-5-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c
drivers/gpu/drm/i915/display/intel_fbc.h
drivers/gpu/drm/i915/display/skl_universal_plane.c
drivers/gpu/drm/i915/display/skl_universal_plane_regs.h