Reviewed-by: Feifei Xu
-Original Message-
From: amd-gfx On Behalf Of Evan Quan
Sent: Friday, July 12, 2019 3:35 PM
To: amd-gfx@lists.freedesktop.org
Cc: Quan, Evan
Subject: [PATCH 1/2] drm/amd/powerplay: correct SW SMU valid mapping check
Current implementation is not actually
Reviewed-by: Feifei Xu
-Original Message-
From: amd-gfx On Behalf Of Quan, Evan
Sent: Tuesday, July 16, 2019 1:12 PM
To: Quan, Evan ; amd-gfx@lists.freedesktop.org
Subject: RE: [PATCH] drm/amd/powerplay: avoid access before allocation
Ping..
> -Original Message-
> From: Evan
Ping..
> -Original Message-
> From: Evan Quan
> Sent: Friday, July 12, 2019 10:55 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Quan, Evan
> Subject: [PATCH] drm/amd/powerplay: avoid access before allocation
>
> No access before allocation.
>
> Change-Id:
Reviewed-by: Feifei Xu
-Original Message-
From: amd-gfx On Behalf Of Evan Quan
Sent: Friday, July 12, 2019 3:35 PM
To: amd-gfx@lists.freedesktop.org
Cc: Quan, Evan
Subject: [PATCH 2/2] drm/amd/powerplay: input check for unsupported
message/clock index
This can avoid them to be
Reviewed-by: Kevin Wang
Best Regards,
Kevin
On 7/16/19 11:01 AM, Quan, Evan wrote:
> Ping..
>
>> -Original Message-
>> From: Evan Quan
>> Sent: Friday, July 12, 2019 1:51 PM
>> To: amd-gfx@lists.freedesktop.org
>> Cc: Wang, Kevin(Yang) ; Quan, Evan
>>
>> Subject: [PATCH]
Please ignore this patch, looks 643d146c86c2f1e29cb18db93fbcd2ee43e6959f
already addressed the issue.
_
Monk Liu|GPU Virtualization Team |AMD
-Original Message-
From: amd-gfx On Behalf Of Monk Liu
Sent: Tuesday, July 16, 2019 11:09 AM
To:
On Fri, Jul 12, 2019 at 1:22 AM Evan Quan wrote:
>
> Fix memory allocation failure check.
>
> - V2: fix one more similar error
>
> Change-Id: I012b082a7a2b92973a76db8029897fb4a3441694
> Signed-off-by: Evan Quan
Reviewed-by: Alex Deucher
> ---
> drivers/gpu/drm/amd/powerplay/vega20_ppt.c | 4
On Fri, Jul 12, 2019 at 3:35 AM Evan Quan wrote:
>
> The interface was used in a confusing way. In profile mode scenario,
> the 2nd parameter of the interface was used in a different way from
> other scenarios.
>
> Change-Id: Iabcebb47db8fdf242580c1059393132ee10b93e4
> Signed-off-by: Evan Quan
Reviewed-by: Kevin Wang
Best Regards,
Kevin
From: Quan, Evan
Sent: Tuesday, July 16, 2019 11:01:43 AM
To: Quan, Evan; amd-gfx@lists.freedesktop.org
Cc: Wang, Kevin(Yang)
Subject: RE: [PATCH] drm/amd/powerplay: fix deadlock around smu_handle_task V2
Ping..
>
don't commit sdma vm job if no updates needed and free
the ib
Signed-off-by: Monk Liu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
Ping..
> -Original Message-
> From: Evan Quan
> Sent: Friday, July 12, 2019 1:23 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Quan, Evan
> Subject: [PATCH] drm/amd/powerplay: fix memory allocation failure check
> V2
>
> Fix memory allocation failure check.
>
> - V2: fix one more
Ping..
> -Original Message-
> From: Evan Quan
> Sent: Friday, July 12, 2019 1:51 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Wang, Kevin(Yang) ; Quan, Evan
>
> Subject: [PATCH] drm/amd/powerplay: fix deadlock around
> smu_handle_task V2
>
> As the lock was already held on the entrance
Ping..
> -Original Message-
> From: Evan Quan
> Sent: Friday, July 12, 2019 3:35 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Quan, Evan
> Subject: [PATCH 1/2] drm/amd/powerplay: correct SW SMU valid mapping
> check
>
> Current implementation is not actually able to detect invalid
>
Ping..
> -Original Message-
> From: Evan Quan
> Sent: Friday, July 12, 2019 3:36 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Quan, Evan
> Subject: [PATCH] drm/amd/powerplay: correct smu_update_table usage
>
> The interface was used in a confusing way. In profile mode scenario, the 2nd
Ping..
> -Original Message-
> From: Evan Quan
> Sent: Friday, July 12, 2019 3:35 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Quan, Evan
> Subject: [PATCH 2/2] drm/amd/powerplay: input check for unsupported
> message/clock index
>
> This can avoid them to be handled in a wrong way
Current support will only work in internal engineering
boards.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
From: Yong Zhao
With the printing, we don't need to parse the value on our own any more.
Signed-off-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git
From: James Zhu
Add all VCN instances' decode/encode/jpeg decode rings into
drm_sched_rq list.
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Reviewed-by: Boyuan Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 26 +
1 file changed, 18
From: Le Ma
Another 6 sdma instances do not work at present. Disable them to unblock KFD
for silicon bringup as a workaround
Signed-off-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Yong Zhao
Signed-off-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 11 +++
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 +
3 files changed, 13 insertions(+), 1
From: Jay Cornwall
ACC VGPRs are a secondary VGPR set of same size as the primary VGPRs.
Save them as a block immediately following VGPRs.
Signed-off-by: Jay Cornwall
Signed-off-by: Alex Deucher
---
.../gpu/drm/amd/amdkfd/cwsr_trap_handler.h| 627 +++
From: Le Ma
The more 6 sdma instances work fine now with DF fix in vbios:
* mmDF_PIE_AON_MiscClientsEnable(0x1c728)=0x3fe(DF_ALL_INSTANCE)
[9:4]MmhubsEnable=3f (change from 0)
Signed-off-by: Le Ma
Reviewed-by: Evan Quan
Signed-off-by: Alex Deucher
---
From: Oak Zeng
Signed-off-by: Oak Zeng
Reviewed-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
These were dropped and the headers never got cleaned up.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h
From: Oak Zeng
GPU cache info (part of virtual CRAT) size depends on CU number.
For arcturus, CU number has been increased from 64 to 128. So
the required memory for vcrat also increases.
Signed-off-by: Oak Zeng
Reviewed-by: Yong Zhao
Signed-off-by: Alex Deucher
---
From: Oak Zeng
CWSR (compute wave save/restore) is used for
preempting compute queues.
Signed-off-by: Oak Zeng
Signed-off-by: Alex Deucher
---
.../gpu/drm/amd/amdkfd/cwsr_trap_handler.h| 198 +
.../amd/amdkfd/cwsr_trap_handler_arcturus.asm | 746 ++
From: Hawking Zhang
They are not needed by arct
Signed-off-by: Hawking Zhang
Reviewed-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
Thanks! This is reviewed-by: Evan Quan
Regards
Evan
> -Original Message-
> From: Nathan Chancellor
> Sent: Monday, July 15, 2019 11:40 PM
> To: Arnd Bergmann
> Cc: Deucher, Alexander ; Koenig, Christian
> ; Zhou, David(ChunMing)
> ; Wentland, Harry ;
> Li, Sun peng (Leo) ; Rex Zhu ;
>
The patch doesn't apply. Can you rebase it?
Thanks,
Marek
On Fri, Jul 12, 2019 at 9:47 AM Haehnle, Nicolai
wrote:
> Prefetch mode 0 is not supported and can lead to hangs with certain very
> specific code patterns. Set a sound prefetch mode for all VMIDs rather
> than forcing all shaders to
From: James Zhu
Arcturus has dual-VCN. Need add multiple instances support for Arcturus.
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 20 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 166 ++--
From: Hawking Zhang
Signed-off-by: Hawking Zhang
Reviewed-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index dc09469f77c5..f67ecf814c8c
From: Feifei Xu
Signed-off-by: Feifei Xu
Reviewed-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index
From: Hawking Zhang
Signed-off-by: Hawking Zhang
Reviewed-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 45 ++
1 file changed, 45 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Reviewed-by: Evan Quan
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index
From: Leo Liu
Also reuse most of the VCN2.0 decode ring functions
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 78 +++
1 file changed, 78 insertions(+)
diff --git
From: Yong Zhao
Signed-off-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 11 +++
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 +
3 files changed, 13 insertions(+), 1
From: Chengming Gui
get smc firmware and pptable for arcturus
Signed-off-by: Chengming Gui
Reviewed-by: Kevin Wang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git
From: James Zhu
add vcn nbio doorbell range setting for 2nd vcn instance
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 +-
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 2 +-
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 20
From: James Zhu
add ucodeID for 2nd vcn instance
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
From: Oak Zeng
This is only needed on emulation platform where psp fw might
not be available, to hack xgmi topology info such as hive id and
node id.
v2: Add offset to hacked hive/node id
v3: Don't use introduce new module parameter.
Signed-off-by: Oak Zeng
Reviewed-by: Alex Deucher
From: James Zhu
add doorbell assignment for 2nd vcn instance
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell.h | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git
From: James Zhu
Add amdgpu_amdkfd_arcturus_get_functions stub when
CONFIG_HSA_AMD is undefinded.
Signed-off-by: James Zhu
Reviewed-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 5 +
1 file changed, 5 insertions(+)
diff --git
From: Leo Liu
JPEG engine initialization and suspend sequences
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 104 ++
1 file changed, 104 insertions(+)
diff --git
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 47 +---
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
From: Hawking Zhang
Signed-off-by: Hawking Zhang
Reviewed-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 30 +++
1 file changed, 30 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
From: Hawking Zhang
Any dce register read back from arct is invalid. use hard code
stolen memory for arct until we validate the s3.
Signed-off-by: Hawking Zhang
Reviewed-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 +++-
1 file changed, 3
From: Hawking Zhang
arct has 4KB gds (4 banks inside). there are 32 * 128 (CUs)
so the max_wave_id should be 0xfff
Signed-off-by: Hawking Zhang
Reviewed-by: Le Ma
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4
1 file changed, 4 insertions(+)
diff --git
From: Leo Liu
They can be reused by VCN2.x family
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c | 87 +--
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.h | 38
2 files changed, 79
From: Leo Liu
including firmware support etc.
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
From: Le Ma
Align with mmhub v1.0.
Signed-off-by: Le Ma
Reviewed-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
From: Leo Liu
VCN is the video decode and encode engine on Arcturus
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c| 2 ++
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.h | 29 +++
2 files changed, 31
From: Leo Liu
So the ring functions can be shared with different VCN versions
with different internal registers offsets
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 6 +++
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
From: James Zhu
Add harvest support for Arcturus
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 9
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 11 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 4 ++
From: Leo Liu
To setup the aperture for VCN2.5
v2: setup vcn doorbells in vcn2.5 hw_init (Alex)
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 21 +
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 3
From: James Zhu
add clientID for 2nd vcn instance, remove unused SOC15_IH_CLIENTID_SYSHUB.
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/soc15_ih_clientid.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Yong Zhao
Signed-off-by: Yong Zhao
Signed-off-by: Oak Zeng
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
From: Oak Zeng
Extend map_queue and unmap_queue PM4 packets to support 8
SDMA engines. The new format is backward compatible.
Signed-off-by: Oak Zeng
Reviewed-by: Felix Kuehling
Signed-off-by: Alex Deucher
---
.../gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c | 26 ---
From: Leo Liu
HW engine initialization and suspend sequences.
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 467 +-
1 file changed, 466 insertions(+), 1 deletion(-)
diff --git
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index
From: Le Ma
Signed-off-by: Le Ma
Acked-by: Felix Kuehling
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
From: Le Ma
All the 8 SDMA instances work fine on the latest Gopher build model.
Signed-off-by: Le Ma
Reviewed-by: Snow Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
From: Le Ma
There's no LUT register for second mmhub to convert pasid since it has no ATC.
Signed-off-by: Le Ma
Reviewed-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4
1 file changed, 4 insertions(+)
diff --git
From: Oak Zeng
Signed-off-by: Oak Zeng
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index
From: James Zhu
Arcturus has dual-VCN. Need Restruct amdgpu_device::vcn to support
multiple vcns. There are no any logical changes here
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 6 +-
From: Oak Zeng
In the original formula, when sdma queue number is 64,
the left shift overflows. Use an equivalence that won't
overflow.
Signed-off-by: Oak Zeng
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 8
1 file changed, 4 insertions(+),
From: Oak Zeng
Signed-off-by: Oak Zeng
Reviewed-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index
From: Oak Zeng
Arcturus has 8 sdma engines
Signed-off-by: Oak Zeng
Reviewed-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index e9d992dc04d6..c84419f73536
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index
From: Le Ma
Split each type of firmware into single function for easy to maintain.
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 247 --
1 file changed, 153 insertions(+), 94 deletions(-)
diff
From: Chengming Gui
add smu11_driver_if_arcturus.h file.
v2: add license, fix header guard (Alex)
Signed-off-by: Chengming Gui
Reviewed-by: Kevin Wang
Signed-off-by: Alex Deucher
---
.../powerplay/inc/smu11_driver_if_arcturus.h | 878 ++
1 file changed, 878 insertions(+)
From: Leo Liu
i.e. basic VCN IP SW structures
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/Makefile | 3 +-
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 414 ++
2 files changed, 416 insertions(+), 1
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 39 +--
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
From: Le Ma
The bit RSVD_ENG0 to RSVD_ENG5 in GPU_HDP_FLUSH_REQ/GPU_HDP_FLUSH_DONE
can be leveraged for sdma instance 2~7 to poll register/memory.
Signed-off-by: Le Ma
Acked-by: Snow Zhang < snow.zh...@amd.com>
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 6
From: Yong Zhao
Signed-off-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
b/drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
index
From: Leo Liu
Also reuse most of the VCN2.0 encode ring functions
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 91 +++
1 file changed, 91 insertions(+)
diff --git
From: Le Ma
Arcturus has no CPG component any more.
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
From: Yong Zhao
Signed-off-by: Yong Zhao
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
b/drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c
index
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index 9d57b4ae49cf..e9d992dc04d6
From: Le Ma
In XGMI configuration, the FB region covers vram region from peer
device, adjust system aperture to cover all of them
Signed-off-by: Le Ma
Reviewed-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 5 ++---
1 file changed, 2 insertions(+), 3
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Feifei Xu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index
From: Le Ma
ih_chicken is a register that is not allowed to access by driver
in the L0 security policy.
psp bl need to enable field to allow driver to use physical
bus address for ih ring on secure part.
Signed-off-by: Le Ma
Reviewed-by: Snow Zhang
Reviewed-by: Hawking Zhang
Signed-off-by:
From: James Zhu
increase AMDGPU_MAX_RINGS to add 2nd vcn instance
Signed-off-by: James Zhu
Reviewed-by: Leo Liu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Chengming Gui
add arcturus_ppsmc.h rcturus_ppt.c and arcturus_ppt.h files.
This is the initial power management support for Arcturus.
Signed-off-by: Chengming Gui
Reviewed-by: Kevin Wang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/powerplay/Makefile| 2 +-
From: Leo Liu
Also reuse most of the JPEG2.0 decode ring functions
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c | 78 +++
1 file changed, 78 insertions(+)
diff --git
From: Leo Liu
Including decode, encode, and JPEG decode rings
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c| 64
drivers/gpu/drm/amd/amdgpu/vega20_reg_init.c | 4 ++
2 files changed, 56
From: Oak Zeng
Arcturus shares most of the kfd2kgd_calls with gfx9. But due to
SDMA register address change, it can't share SDMA related functions.
Export gfx9 kfd2kgd_calls and implement SDMA related functions
for Arcturus.
Signed-off-by: Oak Zeng
Reviewed-by: Felix Kuehling
Signed-off-by:
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
b/drivers/gpu/drm/amd/amdgpu/soc15.c
index
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index
From: Oak Zeng
After cherry-picking doorbell rework changes from drm-next
branch, Arcturus asic functions pointer need to be initialized
to init doorbell index for Arcturus.
Signed-off-by: Oak Zeng
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/soc15.c
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index
From: Le Ma
Virtual dce is a sw only display driver for emulation and
virtualization and cases where we want to use a virtual
display subsystem.
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 1 +
1 file changed, 1
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Hawking Zhang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
From: Yong Zhao
Signed-off-by: Yong Zhao
Signed-off-by: Oak Zeng
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h | 7 +++
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 17 -
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git
From: Oak Zeng
Extend map_process and set_resources pm4 packet to support
bigger gds size for arcturus.
v2: Only make the change for v9
Signed-off-by: Oak Zeng
Reviewed-by: Felix Kuehling
Signed-off-by: Alex Deucher
---
.../gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c | 33 +--
From: Yong Zhao
Add initial support for ARCTURUS to kfd.
Signed-off-by: Yong Zhao
Signed-off-by: Oak Zeng
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c| 1 +
drivers/gpu/drm/amd/amdkfd/kfd_device.c
From: Le Ma
Signed-off-by: Le Ma
Reviewed-by: Christian König
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 62 +-
1 file changed, 51 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
From: Le Ma
It's because Arcturus has not 3D engine.
Signed-off-by: Le Ma
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git
From: Le Ma
This change is needed for Arcturus which has 8 sdma instances.
The CG/PG part is not covered for now.
Signed-off-by: Le Ma
Acked-by: Snow Zhang < snow.zh...@amd.com>
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | 8 +-
1 - 100 of 238 matches
Mail list logo