]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/i915/wcl: Add display device info
authorImre Deak <imre.deak@intel.com>
Fri, 8 Aug 2025 08:19:31 +0000 (13:49 +0530)
committerGustavo Sousa <gustavo.sousa@intel.com>
Wed, 13 Aug 2025 14:13:08 +0000 (11:13 -0300)
Add device info for wildcat lake. WCL has 3 pipes and 2 TC ports.

Suggested-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20250808081931.4101388-2-chaitanya.kumar.borah@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/i915/display/intel_display_device.c

index 089cffabbad57b64f36170494e59aac4f2f4a686..65f0efc35bb7b8c325f512249c3e372a732c3601 100644 (file)
@@ -1354,6 +1354,19 @@ static const struct intel_display_device_info xe2_lpd_display = {
        .__runtime_defaults.has_dbuf_overlap_detection = true,
 };
 
+static const struct intel_display_device_info wcl_display = {
+       XE_LPDP_FEATURES,
+
+       .__runtime_defaults.cpu_transcoder_mask =
+               BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | BIT(TRANSCODER_C),
+       .__runtime_defaults.pipe_mask =
+               BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C),
+       .__runtime_defaults.fbc_mask =
+               BIT(INTEL_FBC_A) | BIT(INTEL_FBC_B) | BIT(INTEL_FBC_C),
+       .__runtime_defaults.port_mask =
+               BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_TC1) | BIT(PORT_TC2),
+};
+
 static const struct intel_display_device_info xe2_hpd_display = {
        XE_LPDP_FEATURES,
        .__runtime_defaults.port_mask = BIT(PORT_A) |
@@ -1480,7 +1493,7 @@ static const struct {
        { 14,  1, &xe2_hpd_display },
        { 20,  0, &xe2_lpd_display },
        { 30,  0, &xe2_lpd_display },
-       { 30,  2, &xe2_lpd_display },
+       { 30,  2, &wcl_display },
 };
 
 static const struct intel_display_device_info *