Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Sousa <gustavo.sousa@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@intel.com>,
	Lucas De Marchi <lucas.demarchi@intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [Intel-gfx] [PATCH v3 0/2] drm/i915/dmc: Make firmware loading backwards-compatible
Date: Thu, 29 Dec 2022 16:07:38 -0300	[thread overview]
Message-ID: <20221229190740.45471-1-gustavo.sousa@intel.com> (raw)

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(-)

-- 
2.39.0


             reply	other threads:[~2022-12-29 19:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-29 19:07 Gustavo Sousa [this message]
2022-12-29 19:07 ` [Intel-gfx] [PATCH v3 1/2] drm/i915/dmc: Do not require specific versions Gustavo Sousa
2022-12-30  8:32   ` Rodrigo Vivi
2022-12-30 12:42     ` Gustavo Sousa
2022-12-30 16:52       ` Rodrigo Vivi
2022-12-30 18:27         ` Gustavo Sousa
2022-12-29 19:07 ` [Intel-gfx] [PATCH v3 2/2] drm/i915/dmc: Prepare to use unversioned paths Gustavo Sousa
2022-12-30  8:47   ` Rodrigo Vivi
2022-12-30 13:36     ` Gustavo Sousa
2022-12-30 16:56       ` Rodrigo Vivi
2022-12-29 19:24 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/dmc: Make firmware loading backwards-compatible (rev3) Patchwork
2022-12-29 19:51 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221229190740.45471-1-gustavo.sousa@intel.com \
    --to=gustavo.sousa@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=lucas.demarchi@intel.com \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox