]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/xe3p_lpd: Extend FBC support to UINT16 formats
authorSai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Mon, 27 Oct 2025 13:39:58 +0000 (15:39 +0200)
committerVinod Govindapillai <vinod.govindapillai@intel.com>
Fri, 31 Oct 2025 11:32:16 +0000 (13:32 +0200)
commitea5ce9afad7063595c3c2715741531208caac0d7
treeda27e51cdbb3d8246a0eae012eeaa97ebdfc57dd
parentba9bf3b8ddbfae8a2237e1e5bea694d792a1c6f8
drm/i915/xe3p_lpd: Extend FBC support to UINT16 formats

Starting Xe3p_LPD, FBC is supported on UINT16 formats as well. Also
UINT16 being a 64bpp format, will use cpp of 8 for cfb stride and thus
size calculations.

v2: simplify getting the cpp per format (Ville)
    simplify the pixel format is valid for xe3p_lp (Vinod)

Cc: Shekhar Chauhan <shekhar.chauhan@intel.com>
BSpec: 68881, 68904, 69560
Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patch.msgid.link/20251027134001.325064-2-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c