From: Pratap Nirujogi
Remove temporary WA to disable ISP prefetch as MMHUB SAW is initialized
to support ISP HW access GART memory using the TLSi path with prefetch
enabled.
Signed-off-by: Pratap Nirujogi
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/amdgpu/isp_v4_1_0.c | 12
This patch to disable lane0 L1TLB and enable lane1 L1TLB.
Signed-off-by: Yifan Zhang
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c
b/drivers/gpu/drm/amd
This patch to configure mmhub3.3 SAW registers
Signed-off-by: Yifan Zhang
Reviewed-by: Mario Limonciello
---
drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c | 40 +
1 file changed, 40 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c
b/drivers/gpu/drm/amd
This patch to differentiate exteranl rev id for gfx 11.5.0.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
index abe319b0f063
This patch to add dcn3.5.1 support.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 502333725b49..72701e7f09fc
There is no irq enabled in vcn 4.0.5 resume, causing wrong amdgpu_irq_src
status.
Beside, current set function callbacks are empty with no real effect.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c | 17 -
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c | 19
No need to set GC golden settings in driver from gfx 11.5.0 onwards.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 22 --
1 file changed, 22 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
No need to set golden settings in driver from gfx 11.5.0 onwards
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 32 ++
1 file changed, 2 insertions(+), 30 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd
IMU starts anyway when dpm is disabled in backdoor loading.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index
This patch to update regGL2C_CTRL4 in golden setting.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 36c4efd89dc5
This patch to update ATHUB_MISC_CNTL offset for nbio v3.3
v2: correct a type (Tim)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/athub_v3_0.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
b/drivers/gpu/drm/amd/amdgpu/athub_v3_0
This patch is to update headers for nbio v7.11.
Signed-off-by: Yifan Zhang
---
.../drm/amd/include/asic_reg/nbio/nbio_7_11_0_offset.h| 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_7_11_0_offset.h
b/drivers/gpu/drm
This patch to update ATHUB_MISC_CNTL offset for nbio v3.3
Signed-off-by: Yifan Zhang
Acked-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/athub_v3_0.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
b/drivers/gpu/drm/amd/amdgpu/athub_v3_0.c
This patch is to update headers for nbio v7.11.
Signed-off-by: Yifan Zhang
Acked-by: Alex Deucher
---
.../drm/amd/include/asic_reg/nbio/nbio_7_11_0_offset.h| 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/include/asic_reg/nbio
This patch is to add ring mode support for lsdma.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
Reviewed-by: Lang Yu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 20 +
drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.c | 40 +
drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.h | 33
LSDMA ring mode doesn't support doorbell.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
Reviewed-by: Lang Yu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
b/drivers/gpu/drm/amd/amdgpu
Add a module parameter for enabling LSDMA, defalt disable it until
proven stable. The module parameter is used to enable LSDMA ring
mode, and switch paging, system buffer management from SDMA to LSDMA.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
Reviewed-by: Lang Yu
---
drivers/gpu/drm
This patch is to update lsdma headers.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
Reviewed-by: Lang Yu
---
.../drm/amd/include/asic_reg/lsdma/lsdma_6_0_0_offset.h| 2 ++
.../drm/amd/include/asic_reg/lsdma/lsdma_6_0_0_sh_mask.h | 7 +++
2 files changed, 9 insertions(+)
diff
This patch is to add lsdma interrupt src id.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
Reviewed-by: Lang Yu
---
drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0
This patch is to add lsdma hw ip definition.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
Reviewed-by: Lang Yu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 15
update
to LSDMA. Since LSDMA is outside GFX domain, it can work without waking up
GFX which saves power in mutiple scenarios. With LSDMA dedicated ring create,
it also exposes interfaces for users to utilize LSDMA capabilies. It is tested
on gfx 11.0.4.
Yifan Zhang (6):
drm/amdgpu: add lsdma hw
Add a module parameter for enabling LSDMA, defalt disable it until
proven stable. The module parameter is used to enable LSDMA ring
mode, and switch paging, system buffer management from SDMA to LSDMA.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h
LSDMA ring mode doesn't support doorbell.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index 45280fb0e00c
This patch is to add ring mode support for lsdma.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 20 +
drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.c | 40 +
drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.h | 33 +-
drivers/gpu/drm/amd
This patch is to update lsdma headers.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
.../drm/amd/include/asic_reg/lsdma/lsdma_6_0_0_offset.h| 2 ++
.../drm/amd/include/asic_reg/lsdma/lsdma_6_0_0_sh_mask.h | 7 +++
2 files changed, 9 insertions(+)
diff --git a/drivers/gpu/drm
This patch is to add lsdma interrupt src id.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h
b/drivers/gpu/drm
This patch is to add lsdma hw ip definition.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 15 +++
drivers/gpu/drm/amd/include
update
to LSDMA. Since LSDMA is outside GFX domain, it can work without waking up
GFX which saves power in mutiple scenarios. With LSDMA dedicated ring create,
it also exposes interfaces for users to utilize LSDMA capabilies. It is tested
on gfx 11.0.4.
Yifan Zhang (6):
drm/amdgpu: add lsdma hw
This patch is to update lsdma headers.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
.../asic_reg/lsdma/lsdma_6_0_0_offset.h | 48 ++
.../asic_reg/lsdma/lsdma_6_0_0_sh_mask.h | 452 ++
2 files changed, 500 insertions(+)
diff --git a/drivers/gpu/drm/amd
Add a module parameter for enabling LSDMA, defalt disable it until
proven stable. The module parameter is used to enable LSDMA ring
mode, and switch paging, system buffer management from SDMA to LSDMA.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h
This patch is to add ring mode support for lsdma.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 20 +
drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.c | 40 +
drivers/gpu/drm/amd/amdgpu/amdgpu_lsdma.h | 33 +-
drivers/gpu/drm/amd
LSDMA ring mode doesn't support doorbell.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index 45280fb0e00c
This patch is to add lsdma hw ip definition.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c| 15 +++
drivers/gpu/drm/amd/include
This patch is to add lsdma interrupt src id.
Signed-off-by: Yifan Zhang
Reviewed-by: Tim Huang
---
.../include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h | 20 +++
1 file changed, 20 insertions(+)
diff --git a/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h
b/drivers/gpu
update
to LSDMA. Since LSDMA is outside GFX domain, it can work without waking up
GFX which saves power in mutiple scenarios. With LSDMA dedicated ring create,
it also exposes interfaces for users to utilize LSDMA capabilies. This series
is tested on gfx 11.0.4.
Yifan Zhang (6):
drm/amdgpu: add
on-zero value.
Reported-by: Jesse Zhang
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c| 7 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h| 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 10 --
3 files changed, 16 insertions(+), 2 deletions(-)
diff --git
hardware queue, queue id = 3
Fixes: d0c860f33553 ("drm/amdgpu: rework lock handling for flush_tlb v2")
Reported-by: Li Ma
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_d
("drm/amd/pm: drop most smu_cmn_get_smc_version in smu")
Signed-off-by: Yifan Zhang
---
.../gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c| 8 +++-
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 10 +-
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_pp
is_mode1_reset_supported may be called before smu init, when smu_context
is unitialized in driver load/unload test. Call smu_cmn_get_smc_version
explicitly is_mode1_reset_supported.
Fixes: 5fe5098c64d9 ("drm/amd/pm: drop most smu_cmn_get_smc_version in smu")
Signed-off-by: Y
flush the correct vmid tlb for specific pasid on gmc 11.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
index f4bb3886d1bc
smu_check_fw_version is called in smu hw init, thus smu if version
and version are garenteed to be stored in smu context. No need to
call smu_cmn_get_smc_version again after system boot up.
Signed-off-by: Yifan Zhang
---
.../gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 66
add hub->ctx_distance when read CONTEXT1_CNTL, align w/
write back operation.
v2: fix coding style errors reported by checkpatch.pl (Christian)
Signed-off-by: Yifan Zhang
Acked-by: Christian König
---
drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_
With S/G display becomes stable, enable S/G display for recent APUs
by default rather than white list.
v2: explicitly disable sg on pre-CZ chips (Alex)
Co-authored-by: Alex Deucher
Signed-off-by: Yifan Zhang
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 47 ++-
1 file
add hub->ctx_distance when read CONTEXT1_CNTL, align w/
write back operation.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c| 2 +-
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c| 2 +-
drivers/gpu/drm/amd/amd
With S/G display becomes stable, enable S/G display for recent APUs
by default rather than white list.
Signed-off-by: Yifan Zhang
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 43 +--
1 file changed, 10 insertions(+), 33 deletions(-)
diff --git a/drivers/gpu/drm/amd
43.930588] entry_SYSCALL_64_after_hwframe+0x72/0xdc
Signed-off-by: Yifan Zhang
Fixes: c6f52f1ffd91 (drm/amdgpu: cleanup gmc_v11_0_flush_gpu_tlb)
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 --
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dri
dropping bit 31:4 of paget table base is wrong, it makes page table
base points to wrong address if phys addr is beyond 64GB; dropping
page_table_start/end bit 31:4 is unnecessary since dcn20_vmid_setup
will do that.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/display/amdgpu_dm
>From gfx10 and onwards, there are two bitmaps in driver,
CU bitmap and WGP bitmap, current log for harvesting WGP is
misleading, the disabling unit is WGP not CU for gfx10 and later.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 +-
drivers/gpu/drm/amd/amd
gc info usage misses type conversion.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index
Use amdgpu_gmc_vram_pa to simplify codes.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfxhub_v11_5_0.c | 3 +--
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0.c| 3 +--
drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0_3.c | 3 +--
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 3 +--
drivers
If vcn is disabled in kernel parameters, don't touch vcn,
otherwise it may cause vcn hang.
v2: delete unnecessary logs
v3: move "is_vcn_enabled" check to smu_dpm_setvcn/jpeg_enable (Evan)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 24
If vcn is disabled in kernel parameters, don't touch vcn,
otherwise it may cause vcn hang.
v2: delete unnecessary logs
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 30 ---
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/drivers
If vcn is disabled in kernel parameters, don't touch vcn,
otherwise it may cause vcn hang.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 31 ---
1 file changed, 27 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu
To decrease VRAM pressure for APUs, put page tables to
GTT domain for gfx10 and newer APUs.
v2: only enable it for gfx10 and newer APUs (Alex, Christian)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions
current method doesn't work for GTT domain page table, change
it to support both VRAM and GTT domain.
v2: rename member for pde (Christian)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 6 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 2 +-
2 files changed, 3
To decrease VRAM pressure for APUs, put page tables to
GTT domain for gfx10 and newer APUs.
v2: only enable it for gfx10 and newer APUs (Alex, Christian)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions
current method doesn't work for GTT domain page table, change
it to support both VRAM and GTT domain.
v2: rename member for pde (Christian)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 6 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 2 +-
2 files changed, 3
To decrease VRAM pressure for APUs, put page tables to
GTT domain.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
current method doesn't work for GTT domain page table, change
it to support both VRAM and GTT domain.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 6 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git
amdgpu_vm is not used in amdgpu_vmid_grab_idle.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
index ff1ea99292fb
[amdgpu]]
*ERROR* ring gfx_32768.1.1 test failed (-110)
Signed-off-by: Yifan Zhang
---
.../gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c | 34 +++
1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c
b/drivers/gpu/drm/amd
/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.o
Fixes: da449f3fef3b ("drm/amd/pm: resolve reboot exception for si oland")
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 17 -
1 file changed, 17 deletions(-)
diff --git a/drivers/gpu/drm/amd
gfx 11.0.4 range starts from 0x80.
Fixes: 311d52367d0a ("drm/amdgpu: add soc21 common ip block support for GC
11.0.4")
Cc: sta...@vger.kernel.org
Signed-off-by: Yifan Zhang
Reported-by: Yogesh Mohan Marimuthu
Acked-by: Alex Deucher
Reviewed-by: Tim Huang
---
drivers/gpu/drm/amd/am
gfx 11.0.4 range starts from 0x80.
Fixes: 311d52367d0a ("drm/amdgpu: add soc21 common ip block support for GC
11.0.4")
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/
to facilitate debugging.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index a4ba2c50a5c3..abdc2923cb62 100644
This patch is to enable vmhub bitmask on gmc11.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
index 90cf79f8ddde
Reviewed-by: Le Ma
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index 8c8a2f37ba33..a4ba2c50a5c3 100644
vmhubs_mask
Change-Id: I3028c4cb607759253861cb10bf62f2fd13791e03
Signed-off-by: Le Ma
Reviewed-by: Christian König
Reviewed-by: Hawking Zhang
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +-
drivers/gpu/drm/amd
tlb flush has to be changed for the new mmhub layout
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 16
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 10 +++---
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd
vm_inv_engs should be changd accordingly.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index 8c8a2f37ba33
APUs w/ gfx9 onwards doesn't reply on PCIe atomics, rather
it is internal path w/ native atomic support. Set have_atomics_support
to true.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/amd
rivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c:550:55
[ 276.069660] index 6 is out of range for type 'amdgpu_crtc *[6]'
[ 276.069665] CPU: 11 PID: 1092 Comm: modprobe Tainted: G OE
5.19.0+ #15
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/display/amd
Add display SG support for DCN 3.1.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 0f391a147354
From: Tim Huang
Enable PSP FW loading for PSP IP v13.0.11
Signed-off-by: Tim Huang
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 1 +
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 3 +++
2 files changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu
From: Saleemkhan Jamadar
This enable VCN PG, CG and JPEG PG, CG
Signed-off-by: Saleemkhan Jamadar
Reviewed-by: Leo Liu
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu
this patch is to enable nbio support for NBIO v7.7.1.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index
From: Tim Huang
The SMU IP v13.0.4 ppt interface is shared by IP v13.0.11, they use
the different mailbox register offset. So use the specific mailbox
registers offset for v13.0.4.
Signed-off-by: Tim Huang
Signed-off-by: Yifan Zhang
---
.../drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c| 17
From: Tim Huang
Set the default reset method to mode2 for SMU IP v13.0.11
Signed-off-by: Tim Huang
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
Enable the SMU IP v13.0.11 GFXOFF control
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
index 6a9bdfda4e6f
this patch to add smu 13 support for smu 13.0.11.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers
Add the entry to set the ppt functions for SMU IP v13.0.11.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index 20e5f66f853f
Add gmc v11 support for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
index 96e52ec0fb69..4326078689cd 100644
--- a/drivers/gpu
Add initial support for GC 11.0.4 in KFD compute driver.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
b/drivers/gpu/drm/amd
Add common soc21 ip block support for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/soc21.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c
b/drivers/gpu/drm/amd/amdgpu/soc21.c
index b258e9aa0558..69dac2aa8151 100644
this patch to add GC 11.0.4 gfx support to gfx11 implementation.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
Set the APU flag appropriately for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 524e2aa849c0
From: Tim Huang
Add PSP IP v13.0.11 ip discovery support.
Signed-off-by: Tim Huang
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu
this patch is to set GC 11.0.4 family.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 49ed3c826088..524e2aa849c0
Enable gfx v11 for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index a047db7f8ed5..de8c2d81e09f 100644
Enable gmc (graphic memory controller) v11 for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index
this patch is to enable mes for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index de8c2d81e09f
Enable soc21 common for GC 11.0.4.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 2509341df92d..b8db6184dcbd
If discovery is set to 2 in module parameters explicitly, the
intention is to use the discovery file in FW rather than the one in
BIOS, usually because the latter is incorrect. This patch to force
read discovery file if set discovery=2.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu
/usr/libexec/gdm-x-session[1711]: (EE) AMDGPU(0): failed to set mode: Invalid
argument
vkms doesn't have modifiers support, set fb_modifiers_not_supported to bring
the gdm back.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 2 ++
1 file changed, 2 insertions(+)
diff
/usr/libexec/gdm-x-session[1711]: (EE) AMDGPU(0): failed to set mode: Invalid
argument
vkms doesn't have modifiers support, set fb_modifiers_not_supported
to bring the gdm back.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 2 ++
1 file changed, 2 insertions(+)
diff
This patch to allow secure submission on gfx11 and sdma6.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd
this patch to add tmz support for GC 11.0.1.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
index 34233a74248c..9c0d9baab4e2 100644
clean sdma_v6_0_get_reg_offset function.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
index db51230163c5
In SDMA0_QUEUE0_RB_CNTL, queue size is 2^RB_SIZE, not 2^(RB_SIZE +1).
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c | 2 +-
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm
This patch addes MES and MES-KIQ version in debugfs.
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 24
include/uapi/drm/amdgpu_drm.h | 4
2 files changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1 - 100 of 172 matches
Mail list logo