All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hawking Zhang <Hawking.Zhang@amd.com>
To: <amd-gfx@lists.freedesktop.org>, Likun Gao <Likun.Gao@amd.com>,
	"Alex Deucher" <alexander.deucher@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Subject: [PATCH 00/10] switch to common helper for rlc fw init
Date: Fri, 16 Sep 2022 01:01:25 +0800	[thread overview]
Message-ID: <20220915170135.23060-1-Hawking.Zhang@amd.com> (raw)

Replace IP specific implementation with common rlc helper
for rlc firmware initialization.

This also helps reduce duplicated code when introduce new
ip block support.

Hawking Zhang (10):
  drm/amdgpu: add helper to init rlc fw in header v2_0
  drm/amdgpu: add helper to init rlc fw in header v2_1
  drm/amdgpu: add helper to init rlc fw in header v2_2
  drm/amdgpu: add helper to init rlc fw in header v2_3
  drm/amdgpu: add helper to init rlc fw in header v2_4
  drm/amdgpu: add helper to init rlc firmware
  drm/amdgpu/gfx8: switch to amdgpu_gfx_rlc_init_microcode
  drm/amdgpu/gfx9: switch to amdgpu_gfx_rlc_init_microcode
  drm/amdgpu/gfx10: switch to amdgpu_gfx_rlc_init_microcode
  drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode

 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h |   4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c  | 191 +----------------
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c  | 156 +-------------
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c   |  60 +-----
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c   | 106 +---------
 6 files changed, 289 insertions(+), 492 deletions(-)

-- 
2.17.1


             reply	other threads:[~2022-09-15 17:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15 17:01 Hawking Zhang [this message]
2022-09-15 17:01 ` [PATCH 01/10] drm/amdgpu: add helper to init rlc fw in header v2_0 Hawking Zhang
2022-09-15 17:01 ` [PATCH 02/10] drm/amdgpu: add helper to init rlc fw in header v2_1 Hawking Zhang
2022-09-15 17:01 ` [PATCH 03/10] drm/amdgpu: add helper to init rlc fw in header v2_2 Hawking Zhang
2022-09-18 17:15   ` Wang, Yang(Kevin)
2022-09-19  2:31     ` Zhang, Hawking
2022-09-15 17:01 ` [PATCH 04/10] drm/amdgpu: add helper to init rlc fw in header v2_3 Hawking Zhang
2022-09-15 17:01 ` [PATCH 05/10] drm/amdgpu: add helper to init rlc fw in header v2_4 Hawking Zhang
2022-09-15 17:01 ` [PATCH 06/10] drm/amdgpu: add helper to init rlc firmware Hawking Zhang
2022-09-15 17:01 ` [PATCH 07/10] drm/amdgpu/gfx8: switch to amdgpu_gfx_rlc_init_microcode Hawking Zhang
2022-09-19  5:25   ` Wang, Yang(Kevin)
2022-09-15 17:01 ` [PATCH 08/10] drm/amdgpu/gfx9: " Hawking Zhang
2022-09-15 17:01 ` [PATCH 09/10] drm/amdgpu/gfx10: " Hawking Zhang
2022-09-23 21:36   ` Deucher, Alexander
2022-09-24  7:14     ` Zhang, Hawking
2022-09-28 17:40       ` Dmitry Osipenko
2022-09-28 17:44         ` Deucher, Alexander
2022-09-28 17:47           ` Dmitry Osipenko
2022-09-28 19:06             ` Dmitry Osipenko
2022-09-28 19:32               ` Alex Deucher
2022-09-29 18:08                 ` Dmitry Osipenko
2022-09-15 17:01 ` [PATCH 10/10] drm/amdgpu/gfx11: " Hawking Zhang
2022-09-15 17:13 ` [PATCH 00/10] switch to common helper for rlc fw init Christian König

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=20220915170135.23060-1-Hawking.Zhang@amd.com \
    --to=hawking.zhang@amd.com \
    --cc=Likun.Gao@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.