RE: [PATCH 1/2] drm/amd/powerplay: correct SW SMU valid mapping check

2019-07-15 Thread Xu, Feifei
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

RE: [PATCH] drm/amd/powerplay: avoid access before allocation

2019-07-15 Thread Xu, Feifei
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

RE: [PATCH] drm/amd/powerplay: avoid access before allocation

2019-07-15 Thread Quan, 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:

RE: [PATCH 2/2] drm/amd/powerplay: input check for unsupported message/clock index

2019-07-15 Thread Xu, Feifei
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

Re: [PATCH] drm/amd/powerplay: fix deadlock around smu_handle_task V2

2019-07-15 Thread Kevin Wang
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]

RE: [PATCH] SWDEV-196010 Calltrace caught in amdgpu_vm_sdma.c file

2019-07-15 Thread Liu, Monk
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:

Re: [PATCH] drm/amd/powerplay: fix memory allocation failure check V2

2019-07-15 Thread Alex Deucher
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

Re: [PATCH] drm/amd/powerplay: correct smu_update_table usage

2019-07-15 Thread Alex Deucher
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

Re: [PATCH] drm/amd/powerplay: fix deadlock around smu_handle_task V2

2019-07-15 Thread Wang, Kevin(Yang)
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.. >

[PATCH] SWDEV-196010 Calltrace caught in amdgpu_vm_sdma.c file

2019-07-15 Thread Monk Liu
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

RE: [PATCH] drm/amd/powerplay: fix memory allocation failure check V2

2019-07-15 Thread Quan, Evan
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

RE: [PATCH] drm/amd/powerplay: fix deadlock around smu_handle_task V2

2019-07-15 Thread Quan, Evan
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

RE: [PATCH 1/2] drm/amd/powerplay: correct SW SMU valid mapping check

2019-07-15 Thread Quan, Evan
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 >

RE: [PATCH] drm/amd/powerplay: correct smu_update_table usage

2019-07-15 Thread Quan, Evan
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

RE: [PATCH 2/2] drm/amd/powerplay: input check for unsupported message/clock index

2019-07-15 Thread Quan, Evan
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

[PATCH 102/102] drm/amdgpu: flag arcturus as experimental for now

2019-07-15 Thread Alex Deucher
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

[PATCH 096/102] drm/amdgpu: Add more detail to the VM fault printing

2019-07-15 Thread Alex Deucher
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

[PATCH 100/102] drm/amdgpu:add all VCN rings into schedule request queue

2019-07-15 Thread Alex Deucher
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

[PATCH 094/102] drm/amdgpu: limit sdma instances to 2 for Arcturus in BU phase

2019-07-15 Thread Alex Deucher
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

[PATCH 091/102] amd/powerplay: No SW XGMI dpm for Arcturus rev 2

2019-07-15 Thread Alex Deucher
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

[PATCH 097/102] drm/amdkfd: Merge gfx9/arcturus trap handlers, add ACC VGPR save

2019-07-15 Thread Alex Deucher
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 +++

[PATCH 098/102] drm/amdgpu: enable all 8 sdma instances for Arcturus silicon

2019-07-15 Thread Alex Deucher
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 ---

[PATCH 095/102] drm/amdkfd: Add device id for real asics

2019-07-15 Thread 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

[PATCH 101/102] drm/amdgpu: drop unused function definitions

2019-07-15 Thread Alex Deucher
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

[PATCH 099/102] drm/amdkfd: Increase vcrat size for GPU

2019-07-15 Thread Alex Deucher
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 ---

[PATCH 092/102] drm/amdkfd: Add arcturus CWSR trap handler

2019-07-15 Thread 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 ++

[PATCH 093/102] drm/amdgpu: skip gfx 9 common golden settings for arct

2019-07-15 Thread Alex Deucher
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

RE: [PATCH 6/7] drm/amd/powerplay: Use proper enums in vega20_print_clk_levels

2019-07-15 Thread Quan, Evan
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 ; >

Re: [PATCH] drm/amdgpu/gfx10: set SH_MEM_CONFIG.INITIAL_INST_PREFETCH

2019-07-15 Thread Marek Olšák
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

[PATCH 081/102] drm/amdgpu: add multiple instances support for Arcturus

2019-07-15 Thread Alex Deucher
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 ++--

[PATCH 087/102] drm/amdgpu: init arct external rev id

2019-07-15 Thread Alex Deucher
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

[PATCH 084/102] drm/amdgpu: add pci DID for Arcturus GL-XL.

2019-07-15 Thread Alex Deucher
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

[PATCH 085/102] drm/amdgpu: add arct sdma golden settings

2019-07-15 Thread Alex Deucher
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

[PATCH 090/102] drm/amdgpu: clean up nonexistent firmware declaration for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 061/102] drm/amdgpu/VCN2.5: set decode ring functions

2019-07-15 Thread Alex Deucher
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

[PATCH 091/102] amd/powerplay: No SW XGMI dpm for Arcturus rev 2

2019-07-15 Thread Alex Deucher
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

[PATCH 070/102] drm/amd/powerplay: get smc firmware and pptable

2019-07-15 Thread Alex Deucher
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

[PATCH 079/102] drm/amdgpu: add vcn nbio doorbell range setting for 2nd vcn instance

2019-07-15 Thread Alex Deucher
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

[PATCH 076/102] drm/amdgpu/: add ucodeID for 2nd vcn instance

2019-07-15 Thread Alex Deucher
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

[PATCH 052/102] drm/amdgpu: Hack xgmi topology info when there is no psp fw

2019-07-15 Thread Alex Deucher
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

[PATCH 077/102] drm/amdgpu/: add doorbell assignment for 2nd vcn instance

2019-07-15 Thread 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

[PATCH 054/102] drm/amdgpu: Clear build undefined warning

2019-07-15 Thread Alex Deucher
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

[PATCH 063/102] drm/amdgpu: add JPEG2.5 HW start and stop

2019-07-15 Thread Alex Deucher
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

[PATCH 071/102] drm/amdgpu: skip get/update xgmi topology info when no psp exists

2019-07-15 Thread Alex Deucher
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

[PATCH 086/102] drm/amdgpu: add arct gc golden settings

2019-07-15 Thread Alex Deucher
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

[PATCH 088/102] drm/amdgpu: keep stolen memory for arct

2019-07-15 Thread Alex Deucher
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

[PATCH 089/102] drm/amdgpu: init gds config for arct

2019-07-15 Thread Alex Deucher
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

[PATCH 057/102] drm/amdgpu/VCN2: expose rings functions

2019-07-15 Thread Alex Deucher
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

[PATCH 060/102] drm/amdgpu: add Arcturus to the VCN family

2019-07-15 Thread Alex Deucher
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

[PATCH 083/102] drm/amdgpu: assign fb_start/end in mmhub v9.4 interface

2019-07-15 Thread Alex Deucher
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

[PATCH 065/102] drm/amdgpu: enable VCN2.5 on Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 056/102] drm/amdgpu/VCN2: put IB internal registers offset to structure

2019-07-15 Thread Alex Deucher
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

[PATCH 082/102] drm/amdgpu: add harvest support for Arcturus

2019-07-15 Thread Alex Deucher
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 ++

[PATCH 066/102] drm/amdgpu: add vcn doorbell range function to nbio7.4 (v2)

2019-07-15 Thread Alex Deucher
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

[PATCH 075/102] drm/amdgpu/: add clientID for 2nd vcn instance

2019-07-15 Thread Alex Deucher
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

[PATCH 046/102] drm/amdkfd: Support two MMHUBs when setting up page table base in KFD

2019-07-15 Thread Alex Deucher
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

[PATCH 042/102] drm/amdkfd: Extend PM4 packets to support 8 SDMA

2019-07-15 Thread Alex Deucher
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 ---

[PATCH 059/102] drm/amdgpu: add VCN2.5 VCPU start and stop

2019-07-15 Thread Alex Deucher
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

[PATCH 026/102] drm/amdgpu: add gfx config for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 038/102] drm/amdgpu: add Arcturus chip_name for init sdma microcode

2019-07-15 Thread Alex Deucher
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

[PATCH 037/102] drm/amdgpu: enable 8 SDMA instances for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 030/102] drm/amdgpu: skip pasid mapping for second mmhub on Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 053/102] drm/amdgpu: Enable xgmi support for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 080/102] drm/amdgpu: modify amdgpu_vcn to support multiple instances

2019-07-15 Thread Alex Deucher
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 +-

[PATCH 048/102] drm/amdkfd: Fix sdma_bitmap overflow issue

2019-07-15 Thread Alex Deucher
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(+),

[PATCH 074/102] drm/amdkfd: Set number of xgmi optimized SDMA engines for arcturus

2019-07-15 Thread 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 | 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

[PATCH 047/102] drm/amdkfd: Change arcturus sdma engines number

2019-07-15 Thread Alex Deucher
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

[PATCH 028/102] drm/amdgpu: add to set rlc funcs for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 055/102] drm/amdgpu: declare sdma firmware binary files for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 032/102] drm/amdgpu: optimize gfx9 init_microcode function

2019-07-15 Thread Alex Deucher
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

[PATCH 069/102] drm/amdgpu/powerplay: add smu11 driver interface for arcturus. (v2)

2019-07-15 Thread Alex Deucher
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(+)

[PATCH 058/102] drm/amdgpu: add VCN2.5 basic supports

2019-07-15 Thread Alex Deucher
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

[PATCH 034/102] drm/amdgpu: skip all gfx ring settings for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 020/102] drm/amdgpu: support hdp flush for more sdma instances

2019-07-15 Thread Alex Deucher
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

[PATCH 051/102] drm/amdkfd: Support MMHUB1 in kfd interrupt path

2019-07-15 Thread Alex Deucher
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

[PATCH 062/102] drm/amdgpu/VCN2.5: set encode ring functions

2019-07-15 Thread Alex Deucher
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

[PATCH 033/102] drm/amdgpu: skip load cp gfx firmware for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 036/102] drm/amdgpu: correct Arcturus SDMA address space base index

2019-07-15 Thread Alex Deucher
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

[PATCH 050/102] drm/amdgpu: Set VM_L2_CNTL.PDE_FAULT_CLASSIFICATION to 0 for MMHUB 9.4

2019-07-15 Thread Alex Deucher
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

[PATCH 027/102] drm/amdgpu: add number of mec for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 072/102] drm/amdgpu: set system aperture to cover whole FB region in mmhub v9.4

2019-07-15 Thread Alex Deucher
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

[PATCH 073/102] drm/amdgpu: correct ip for mmHDP_READ_CACHE_INVALIDATE register access

2019-07-15 Thread Alex Deucher
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

[PATCH 039/102] drm/amdgpu: correct programming of ih_chicken for Arcturus

2019-07-15 Thread Alex Deucher
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:

[PATCH 078/102] drm/amdgpu/: increase AMDGPU_MAX_RINGS to add 2nd vcn instance

2019-07-15 Thread Alex Deucher
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

[PATCH 068/102] drm/amdgpu/powerplay: add arcturus ppt functions

2019-07-15 Thread Alex Deucher
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 +-

[PATCH 064/102] drm/amdgpu/VCN2.5: set JPEG decode ring functions

2019-07-15 Thread Alex Deucher
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

[PATCH 067/102] drm/amdgpu: enable the Doorbell support for VCN2.5

2019-07-15 Thread Alex Deucher
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

[PATCH 049/102] drm/amdkfd: Implement kfd2kgd_calls for Arcturus

2019-07-15 Thread Alex Deucher
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:

[PATCH 021/102] drm/amdgpu/soc15: add Arcturus common ip blocks

2019-07-15 Thread Alex Deucher
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

[PATCH 031/102] drm/amdgpu: add Arcturus gpu info firmware

2019-07-15 Thread Alex Deucher
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

[PATCH 041/102] drm/amdgpu: Initialize asic functions for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 023/102] drm/amdgpu: set Arcturus fw load type as direct

2019-07-15 Thread Alex Deucher
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

[PATCH 024/102] drm/amdgpu/dce_virtual: add Arcturus virtual display support

2019-07-15 Thread Alex Deucher
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

[PATCH 035/102] drm/amdgpu: support sdma 2~7 doorbell range register offset

2019-07-15 Thread Alex Deucher
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

[PATCH 045/102] drm/amdkfd: Expose function mmhub_v9_4_setup_vm_pt_regs() for kfd to use

2019-07-15 Thread Alex Deucher
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

[PATCH 043/102] drm/amdkfd: Support bigger gds size

2019-07-15 Thread Alex Deucher
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 +--

[PATCH 044/102] amd/amdkfd: Add ASIC ARCTURUS to kfd

2019-07-15 Thread Alex Deucher
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

[PATCH 040/102] drm/amdgpu: add paging queue support for 8 SDMA instances on Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 029/102] drm/amdgpu: skip to get 3D engine clockgating state for Arcturus

2019-07-15 Thread Alex Deucher
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

[PATCH 018/102] drm/amdgpu: reorganize sdma v4 code to support more instances

2019-07-15 Thread Alex Deucher
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   2   3   >