drm/i915/xe2lpd: FBC is now supported on all pipes
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 19 Sep 2023 19:21:09 +0000 (12:21 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 21 Sep 2023 14:39:46 +0000 (07:39 -0700)
FBC is no longer limited by pipe: add the defines for pipes B and C that
will be used by platforms supporting FBC on such pipes.

Bspec: 68881, 68904
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230919192128.2045154-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_display_device.c
drivers/gpu/drm/i915/display/intel_fbc.h

index 5d6d771791df2ec0c8a7315d14bca1672181314a..5f14f9e8ca88137229063bf680aeac0297613e3c 100644 (file)
@@ -761,6 +761,10 @@ static const struct intel_display_device_info xe_lpdp_display = {
 
 static const struct intel_display_device_info xe2_lpd_display = {
        XE_LPDP_FEATURES,
+
+       .__runtime_defaults.fbc_mask =
+               BIT(INTEL_FBC_A) | BIT(INTEL_FBC_B) |
+               BIT(INTEL_FBC_C) | BIT(INTEL_FBC_D),
 };
 
 /*
index 4adb98afe6fffc752cd0832ed9652c346ac65a8a..6720ec8ee8a2be3d735bed00ec2be0c8033733cf 100644 (file)
@@ -20,6 +20,8 @@ struct intel_plane_state;
 enum intel_fbc_id {
        INTEL_FBC_A,
        INTEL_FBC_B,
+       INTEL_FBC_C,
+       INTEL_FBC_D,
 
        I915_MAX_FBCS,
 };