[PATCH] [CI] drm/i915/dmc: Hardcode path to MTL DMC v2.22

Gustavo Sousa gustavo.sousa at intel.com
Mon Jul 29 20:14:11 UTC 2024


Quoting Dnyaneshwar Bhadane (2024-07-29 17:04:41-03:00)
>NOT TO BE REVIEWED/MERGED
>Hardcode path to DMC firmware for CI purposes only.
>
>Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane at intel.com>
>---
> drivers/gpu/drm/i915/display/intel_dmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/i915/display/intel_dmc.c b/drivers/gpu/drm/i915/display/intel_dmc.c
>index 73977b173898..5ef22a76c11e 100644
>--- a/drivers/gpu/drm/i915/display/intel_dmc.c
>+++ b/drivers/gpu/drm/i915/display/intel_dmc.c
>@@ -119,7 +119,7 @@ MODULE_FIRMWARE(XE2LPD_DMC_PATH);
> #define BMG_DMC_PATH                        DMC_PATH(bmg)
> MODULE_FIRMWARE(BMG_DMC_PATH);
> 
>-#define MTL_DMC_PATH                        DMC_PATH(mtl)
>+#define MTL_DMC_PATH                        DMC_LEGACY_PATH(mtl, 2, 22)

This will not work because the blob is under "intel-ci/".

Better to use the path directly here, i.e.,
"intel-ci/i915/mtl_dmc_ver2_22.bin".

--
Gustavo Sousa

> MODULE_FIRMWARE(MTL_DMC_PATH);
> 
> #define DG2_DMC_PATH                        DMC_LEGACY_PATH(dg2, 2, 08)
>-- 
>2.34.1
>


More information about the Intel-gfx mailing list