mbox series

[v3,0/2] drm/i915/dmc: Make firmware loading backwards-compatible

Message ID 20221229190740.45471-1-gustavo.sousa@intel.com (mailing list archive)
Headers show
Series drm/i915/dmc: Make firmware loading backwards-compatible | expand

Message

Gustavo Sousa Dec. 29, 2022, 7:07 p.m. UTC
This patch series changes DMC loading to be backwards-compatible by
removing version checking and preparing the driver to load from blobs
unversioned filenames.

Next DMC releases should start using using unversioned filenames and the
code should be changed to use them when that happens. It's likely that
old platforms will not have new releases, so we keep on using the
versioned paths for a while.

This version differs from v2 in that we are keeping the current paths
and will update them as new DMC releases are issued. In the future we
could move everybody to use the new convention after making sure that
required changes in linux-firmware are well spread. After that, the
fallback mechanism introduced by this series could be removed.

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>

Gustavo Sousa (2):
  drm/i915/dmc: Do not require specific versions
  drm/i915/dmc: Prepare to use unversioned paths

 drivers/gpu/drm/i915/display/intel_dmc.c | 97 +++++++++++-------------
 drivers/gpu/drm/i915/display/intel_dmc.h |  1 -
 2 files changed, 46 insertions(+), 52 deletions(-)