]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/xe3lpd: Extend DMC load path for display
authorDnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Fri, 13 Jun 2025 19:31:44 +0000 (01:01 +0530)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 18 Jun 2025 21:58:34 +0000 (14:58 -0700)
Display version 30.02 should be treated the same as other Xe3 IP.
So exteding DMC load path the condition for it.

Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20250613193146.3549862-8-dnyaneshwar.bhadane@intel.com
drivers/gpu/drm/i915/display/intel_dmc.c

index a10e56e7cf3121f1637c5915c0e31c0a221d9616..1295d8245a2ee4eda48f7ce3fb3d4f22872aaf8b 100644 (file)
@@ -179,7 +179,8 @@ static const char *dmc_firmware_default(struct intel_display *display, u32 *size
        const char *fw_path = NULL;
        u32 max_fw_size = 0;
 
-       if (DISPLAY_VERx100(display) == 3000) {
+       if (DISPLAY_VERx100(display) == 3002 ||
+           DISPLAY_VERx100(display) == 3000) {
                fw_path = XE3LPD_DMC_PATH;
                max_fw_size = XE2LPD_DMC_MAX_FW_SIZE;
        } else if (DISPLAY_VERx100(display) == 2000) {