aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd
AgeCommit message (Collapse)AuthorFilesLines
2022-05-06drm/amdgpu: add gmc v11 support for GC 11.0.1Huang Rui1-0/+1
Add gmc v11 support for GC 11.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: enable soc21 common for GC 11.0.1Huang Rui1-0/+1
Enable soc21 common for GC 11.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: add soc21 common ip block support for GC 11.0.1Huang Rui1-0/+5
Add common soc21 ip block support for GC 11.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: 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/amdgpu: add hdp v5_2_1 ip headersHuang Rui2-0/+901
Add hdp v5.2.1 offset and shift mask ip header files. v2: squash in updates (Alex) Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Aaron Liu <[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: add nbio v7_7_0 ip headersHuang Rui2-0/+184057
Add nbio v7.7.0 offset and shift mask ip header files. v2: squash in updates (Alex) Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Aaron Liu <[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-06drm/amd/pm: report preDS gfxclk on smu_v13_0_7Kenneth Feng1-1/+1
report preDS gfxclk on smu_v13_0_7 to avoid the test confusion Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amd/pm: change the soft pptable id for smu_v13_0_7Kenneth Feng1-3/+7
change the soft pptable id for smu_v13_0_7 according to pptable updatde Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amd/pm: enable pmlog support for smu_v13_0_7Yang Wang1-0/+1
enable pmlog support for smu 13_0_7. Signed-off-by: Yang Wang <[email protected]> Reviewed-by: Kenneth Feng <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06drm/amd/pm: enable workload type change on smu_v13_0_7Kenneth Feng4-3/+136
enable workload type change on smu_v13_0_7 v2: squash in out of bounds fix (Alex) Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Yang Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-06Merge tag 'amd-drm-next-5.19-2022-04-29' of ↵Dave Airlie77-542/+62549
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/pm: pp_dpm_sclk change for smu_v13_0_7Kenneth Feng1-5/+2
fetch the average gfxclk according to pmfw for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable gfx pcc and soc cg on smu_v13_0_7Kenneth Feng1-0/+2
enable gfx pcc and soc cg on smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable gfx ds for smu_v13_0_7Kenneth Feng1-0/+3
enable gfx ds for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Yang Wang <[email protected]> Signed-off-by: Alex Deucher <[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/amd/pm: add the pg_flag for athub and mmhub pg on smu_v13_0_7Kenneth Feng1-1/+3
add the pg_flag for athub and mmhub pg on smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: port the fan interface to smu_v13_0_7Kenneth Feng1-0/+48
port the fan interface to smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable pp_dpm_vclk/dclk interface for smu_v13_0_7Kenneth Feng1-2/+4
enable pp_dpm_vclk/dclk interface for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm:add UMD Pstate clock settings for smu_v13_0_7Kenneth Feng1-0/+52
add UMD Pstate clock settings for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: pp_dpm_* interface for smu_v13_0_7Kenneth Feng1-13/+743
add the sysfs pp_dpm_* interface for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: update the features for smu_v13_0_7Kenneth Feng1-0/+7
Enable socclk ds, dstate, mp0clk ds, mpioclk ds, gfxclk ss, memory temperature reading, athub and mmhub pg. Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: add SCPM support in smu v13_0_7Kenneth Feng2-6/+38
port the SCPM change from smu_v13_0_0 to smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable platform features for smu_v13_0_7Kenneth Feng1-0/+5
enable throttler, AC/DC, VR hot, FW CTF, fan control for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Wang Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable fclk,vcn ds and df cstate for smu_v13_0_7Kenneth Feng1-0/+3
enable fclk ds, vcn ds and df cstate for smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable mp0,vcn,dcn dpm on smu_v13_0_7Kenneth Feng1-0/+6
enable mp0 dpm, vcn dpm, dcn dpm on smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: enable link dpm and link ds on smu_v13_0_7Kenneth Feng1-0/+5
enable link clock dpm and link clock deep sleep on smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Jack Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: add mvdd and vddio scaling in smu_v13_0_7Kenneth Feng1-0/+2
add mvdd and vddio scaling in smu_v13_0_7 to follow uclk dpm Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: add features to smu_v13_0_7Kenneth Feng1-1/+9
add prefetcher, socclk dpm, fclk dpm, uclk dpm to smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: support power on/off vcn/jpeg in smu v13_0_7Kenneth Feng1-0/+6
add power on/off vcn&jpeg callbacks in smu_v13_0_7 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: add get enable mask function for smu v13_0_7Likun Gao1-0/+1
Add get_enabled_mask interface for smu v13_0_7. Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: add SMU_13_0_7 ppt_funcs for SMU_13_0_7Chengming Gui6-1/+510
Add initial support for SMU 13.0.7. V2: unify ppt name, fix copyright format, add missing break (Kenneth/Evan) V3: Split PMFW headers as separate patch (Alex) Signed-off-by: Chengming Gui <[email protected]> Reviewed-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amdgpu/swsmu: add smu 13.0.7 firmwareChengming Gui1-0/+1
Declare smu 13.0.7 firmware. Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Chengming Gui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
2022-05-05drm/amd/pm: add SMU_13_0_7 PMFW headersChengming Gui3-0/+1896
Add driver_if/ppsmc/pptable head files. Signed-off-by: Chengming Gui <[email protected]> Acked-by: Alex Deucher <[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/amdkfd: add asic support for GC 11.0.2Eric Huang2-0/+6
Changes are inherited from GC 11.0.0. Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[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]>