AMD-GFX Archive mirror
 help / color / mirror / Atom feed
From: "Zhang, Hawking" <Hawking.Zhang@amd.com>
To: "Gao, Likun" <Likun.Gao@amd.com>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>
Subject: RE: [PATCH 1/8] drm/amdgpu: support imu for gc 12_0_0
Date: Tue, 14 May 2024 10:11:05 +0000	[thread overview]
Message-ID: <BN9PR12MB525733AD5E5D4F04F6B86407FCE32@BN9PR12MB5257.namprd12.prod.outlook.com> (raw)
In-Reply-To: <DM4PR12MB5181370915A60C0ABA2623F7EFE32@DM4PR12MB5181.namprd12.prod.outlook.com>

[AMD Official Use Only - AMD Internal Distribution Only]

Series is

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>

Regards,
Hawking
-----Original Message-----
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Gao, Likun
Sent: Tuesday, May 14, 2024 16:51
To: amd-gfx list <amd-gfx@lists.freedesktop.org>
Subject: [PATCH 1/8] drm/amdgpu: support imu for gc 12_0_0

[AMD Official Use Only - AMD Internal Distribution Only]

[AMD Official Use Only - AMD Internal Distribution Only]

From: Likun Gao <Likun.Gao@amd.com>

Support IMU for ASIC with GC 12.0.0
Drop some unused function.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/imu_v12_0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/imu_v12_0.c b/drivers/gpu/drm/amd/amdgpu/imu_v12_0.c
index 032ae12b2be2..0c8ef908d112 100644
--- a/drivers/gpu/drm/amd/amdgpu/imu_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/imu_v12_0.c
@@ -32,6 +32,7 @@
 #include "gc/gc_12_0_0_sh_mask.h"
 #include "mmhub/mmhub_4_1_0_offset.h"

+MODULE_FIRMWARE("amdgpu/gc_12_0_0_imu.bin");
 MODULE_FIRMWARE("amdgpu/gc_12_0_1_imu.bin");

 #define TRANSFER_RAM_MASK      0x001c0000
@@ -367,6 +368,7 @@ static void imu_v12_0_program_rlc_ram(struct amdgpu_device *adev)
        WREG32_SOC15(GC, 0, regGFX_IMU_RLC_RAM_INDEX, 0x2);

        switch (amdgpu_ip_version(adev, GC_HWIP, 0)) {
+       case IP_VERSION(12, 0, 0):
        case IP_VERSION(12, 0, 1):
                if (!r)
                        program_imu_rlc_ram(adev, data, (const u32)size);
--
2.34.1


  reply	other threads:[~2024-05-14 10:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240514084751.3438103-1-likun.gao@amd.com>
     [not found] ` <20240514084751.3438103-2-likun.gao@amd.com>
2024-05-14  8:50   ` FW: [PATCH 2/8] drm/amdgpu/jpeg5: enable power gating Gao, Likun
2024-05-14  8:50 ` [PATCH 1/8] drm/amdgpu: support imu for gc 12_0_0 Gao, Likun
2024-05-14 10:11   ` Zhang, Hawking [this message]
     [not found] ` <20240514084751.3438103-3-likun.gao@amd.com>
2024-05-14  8:51   ` [PATCH 3/8] drm/amdgpu: enable gfx cgcg&cgls for gfx v12_0_0 Gao, Likun
     [not found] ` <20240514084751.3438103-4-likun.gao@amd.com>
2024-05-14  8:51   ` [PATCH 4/8] drm/amdgpu: enable some cg feature for gc 12.0.0 Gao, Likun
     [not found] ` <20240514084751.3438103-5-likun.gao@amd.com>
2024-05-14  8:51   ` [PATCH 5/8] drm/amd/amdgpu: enable mmhub and athub cg on " Gao, Likun
     [not found] ` <20240514084751.3438103-7-likun.gao@amd.com>
2024-05-14  8:52   ` [PATCH 7/8] drm/amd/pm: add pp_dpm_dcefclk for smu 14.0.2/3 Gao, Likun
     [not found] ` <20240514084751.3438103-6-likun.gao@amd.com>
2024-05-14  8:52   ` [PATCH 6/8] drm/amdgpu: enable gfxoff for gc v12.0.0 Gao, Likun
     [not found] ` <20240514084751.3438103-8-likun.gao@amd.com>
2024-05-14  8:53   ` [PATCH 8/8] drm/amdgpu: switch default mes to uni mes Gao, Likun

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=BN9PR12MB525733AD5E5D4F04F6B86407FCE32@BN9PR12MB5257.namprd12.prod.outlook.com \
    --to=hawking.zhang@amd.com \
    --cc=Likun.Gao@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).