aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
AgeCommit message (Collapse)AuthorFilesLines
2022-05-06drm/amdgpu: add mmhub support for MMHUB 3.0.1Huang Rui1-0/+1
Add the mmhub support for MMHUB 3.0.1. Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amdgpu/discovery: add HDP v5.2.1 into the IP discovery listXiaojian Du1-0/+4
This patch is to add HDP v5.2.1 in the IP discovery list. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amdgpu: add the files of HDP v5.2 blockXiaojian Du3-1/+77
This patch is to add the files of HDP v5.2 block. HDP (Host Data Port) is the IP which handles host access to VRAM via the PCI BAR. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/admgpu/discovery: add NBIO v7.7 into the IP discovery listXiaojian Du1-0/+5
This patch is to add NBIO v7.7 into the IP discovery list. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amdgpu: add the files of NBIO v7.7 blockXiaojian Du3-1/+275
This patch is to add the files of NBIO v7.7 block. NBIO (New Bus IO) is the block which handles the GPU interface to the PCIe bus. v2: squash in register name fix (Xiaojian) Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amdgpu: add pcie port function helpers for SOC21Xiaojian Du1-0/+2
These helpers will be used on NBIO v7.7.0. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amdgpu: skip the new gc doorbell function for some asicsXiaojian Du1-1/+2
This patch will skip the new gc doorbell function for some asics, only enable new doorbell model on aisc where it is supported. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amdgpu: handle asics with 1 SDMA instanceXiaojian Du1-2/+3
This patch will handle asics with 1 SDMA instance. Signed-off-by: Xiaojian Du <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06Merge tag 'amd-drm-next-5.19-2022-04-29' of ↵Dave Airlie36-284/+1445
https://gitlab.freedesktop.org/agd5f/linux into drm-next amd-drm-next-5.19-2022-04-29: amdgpu - RAS updates - SI dpm deadlock fix - Misc code cleanups - HDCP fixes - PSR fixes - DSC fixes - SDMA doorbell cleanups - S0ix fix - DC FP fix - Zen dom0 regression fix for APUs - IP discovery updates - Initial SoC21 support - Support for new vbios tables - Runtime PM fixes - Add PSP TA debugfs interface amdkfd: - Misc code cleanups - Ignore bogus MEC signals more efficiently - SVM fixes - Use bitmap helpers radeon: - Misc code cleanups - Spelling/grammer fixes From: Alex Deucher <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2022-05-05drm/amd/soc21: enable mmhub and athub power gatingKenneth Feng1-1/+3
add the pg_flag for athub and mmhub pg. Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: enable cgcg and cgls for GC 11_0_2Likun Gao1-0/+2
Enable GFX CGCG and CGLS for GFX v11_0_2. Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: set family for GC 11.0.2Flora Cui1-0/+1
Set AMDGPU_FAMILY_GC_11_0_0. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add gfx11 support for GC 11.0.2Flora Cui1-0/+1
Enable gfx11 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: update rlc ram for gc v11_0_2Likun Gao1-3/+82
Add imu rlc ram register settings for gc v11_0_2 Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add initial GC 11.0.2 supportFlora Cui1-0/+6
Add initial support for GC 11.0.2 to gfx_v11_0.c. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add gc v11_0_2 imu firmwareFlora Cui1-0/+1
add gc v11_0_2 imu firmware Signed-off-by: Flora Cui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add mes11 support for GC 11.0.2Flora Cui1-0/+1
Enable Micro Engine Scheduler support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add mes 11 firmware for mes 11.0.2Flora Cui1-0/+2
Define firmware for MES 11.0.2. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add sdma6 support for SDMA 6.0.2Flora Cui1-0/+1
Enable sdma6 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add sdma 6.0.2 firware supportFlora Cui1-0/+1
define sdma 6.0.2 firmware. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: enable vcn/jpeg v4_0_4James Zhu1-0/+1
Enable vcn/jpeg 4_0_4. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: Enable vcn v4_0_4 sramSonny Jiang1-1/+1
enable vcn v4_0_4 sram Signed-off-by: Sonny Jiang <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/vcn: enable VCN DPG mode for VCN4_0_4James Zhu1-0/+1
Enable VCN DPG mode for VCN4_0_4. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/vcn: enable VCN PG for VCN4_0_4James Zhu1-0/+1
Enable VCN PG for VCN4_0_4. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/vcn: enable VCN CG for VCN4_0_4James Zhu1-0/+1
Enable VCN CG for VCN4_0_4. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/jpeg: enable JPEG PG for VCN4_0_4James Zhu1-1/+2
Enable JPEG PG for VCN4_0_4. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/jpeg: enable JPEG CG for VCN4_0_4James Zhu1-1/+2
Enable JPEG CG for VCN4_0_4. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add VCN4_0_4 firmwareJames Zhu1-0/+8
Add VCN4_0_4 firmware. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Sonny Jiang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add psp13 support for PSP 13.0.7Chengming Gui1-0/+1
Enable psp 13 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Chengming Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/psp13: add support for MP0 13.0.7Chengming Gui2-0/+4
Enable support in psp code. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Chengming Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add gmc11 support for GC 11.0.2Flora Cui1-0/+1
Enable gmc11 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add GMC11 support for GC 11.0.2Flora Cui1-0/+1
Add initial support for GC 11.0.2. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add UMC 8.11.0 supportFlora Cui1-0/+1
Add initial support for UMC 8.11.0. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: split mmhub v3_0_2 callbacks from mmhub v3_0Hawking Zhang1-1/+9
So we don't need to add ip version check in every callback when there is atc related programming that is only available in mmhub v3_0 Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add mmhub v3_0_2 ip callback functionsHawking Zhang3-1/+600
Unlike mmhub v3_0_0, there is no atc_l2 related registers available in mmhub v3_0_2. Split the mmhub v3_0_2 callback implementations from mmhub v3_0 so we don't need to add ip version check when atc related programming needs to be added to mmhub v3_0_0. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add SMUIO_13_0_8 func supportChengming Gui1-0/+1
Add SMUIO funcs for SMUIO_13_0_8. Signed-off-by: Chengming Gui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add hdp6 support for HDP 6.0.1Flora Cui1-0/+1
Enable Host Data Path support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add nbio 4.3 support for NBIO 4.3.1Flora Cui1-0/+1
Enable nbio 4.3 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add smu13 support for MP1 13.0.7Flora Cui1-0/+1
Enable System Management Unit support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add ih6 support for IH 6.0.2Flora Cui1-0/+1
Enable Interrupt Handler v6 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add support for ATHUB 3.0.2Flora Cui1-0/+1
Add support 3.0.2 to the ATHUB 3.0 code. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/discovery: add soc21 support for GC 11.0.2Flora Cui1-0/+1
Enable soc21 common soc support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: add soc21 support for GC 11.0.2Flora Cui1-0/+5
Add initial soc21 support. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Flora Cui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: enable clock gating for HDP 6.0Evan Quan2-30/+73
Enable HDP 6.0 clock gating. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: enable clock gating for IH 6.0Evan Quan1-1/+2
Enable IH 6.0 clock gating. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: enable MGCG and LS for MMHUB 3.0Evan Quan2-8/+92
Enable MMHUB 3.0 MGCG and LS features. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: enable MGCG and LS for ATHUB 3.0Evan Quan2-4/+5
Enable ATHUB 3.0 MGCG and LS features. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: enable more GFX clockgating features for GC 11.0.0Evan Quan2-14/+91
Support more GFX clockgating features(3D_CGCG, 3D_CGLS, MGCG, FGCG and PERF_CLK). Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: simplify the return expression of vega10_ih_hw_init()Minghao Chi1-6/+1
Simplify the return expression. Reported-by: Zeal Robot <[email protected]> Signed-off-by: Minghao Chi <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu: simplify the return expressionMinghao Chi1-11/+2
Simplify the return expression. Reported-by: Zeal Robot <[email protected]> Signed-off-by: Minghao Chi <[email protected]> Signed-off-by: Alex Deucher <[email protected]>