[Intel-gfx] [PATCH] drm/i915/dmc: Update DG2 DMC version to v2.08
Matt Roper
matthew.d.roper at intel.com
Tue Nov 22 20:59:36 UTC 2022
On Mon, Nov 21, 2022 at 06:18:15PM -0300, Gustavo Sousa wrote:
> Release notes:
>
> 1. Fixes for Register noclaims and few restore.
>
> Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
Now that we've removed force_probe from DG2, in general we're past the
point where we can just directly update firmware versions like this; if
someone has a working system with the current kernel + DMC 2.07 and then
they update to a new kernel containing this patch (but without
installing DMC 2.08), they'd see a regression.
In this case, maybe there's still time to sneak this specific update
into -fixes so that it lands in the same kernel release that removes the
force_probe protection on DG2? But in general we need to start
providing backwards-compatible support for all firmware updates going
forward. The GuC/HuC guys just went through an overhaul of their
firmware handling to deal with this; we probably need something similar
on the DMC side now too, although I suspect DMC should be simpler to
deal with since most (all?) DMC firmwares are just drop-in replacements
and there's no constantly changing firmware<->driver interface like
there is with the GuC.
See Documentation/driver-api/firmware/firmware-usage-guidelines.rst for
the official rules about firmware usage.
Matt
> ---
> drivers/gpu/drm/i915/display/intel_dmc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dmc.c b/drivers/gpu/drm/i915/display/intel_dmc.c
> index 081a4d0083b1..697196368fbb 100644
> --- a/drivers/gpu/drm/i915/display/intel_dmc.c
> +++ b/drivers/gpu/drm/i915/display/intel_dmc.c
> @@ -52,8 +52,8 @@
>
> #define DISPLAY_VER12_DMC_MAX_FW_SIZE ICL_DMC_MAX_FW_SIZE
>
> -#define DG2_DMC_PATH DMC_PATH(dg2, 2, 07)
> -#define DG2_DMC_VERSION_REQUIRED DMC_VERSION(2, 07)
> +#define DG2_DMC_PATH DMC_PATH(dg2, 2, 08)
> +#define DG2_DMC_VERSION_REQUIRED DMC_VERSION(2, 08)
> MODULE_FIRMWARE(DG2_DMC_PATH);
>
> #define ADLP_DMC_PATH DMC_PATH(adlp, 2, 16)
> --
> 2.38.1
>
--
Matt Roper
Graphics Software Engineer
VTT-OSGC Platform Enablement
Intel Corporation
More information about the Intel-gfx
mailing list