Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-06-04 | drm/amdgpu: enable vcn/jpeg on yellow carp | James Zhu | 1 | -0/+3 | |
Enable vcn/jpeg IP on yellow carp. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Acked-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/vcn: add vcn support for yellow carp | James Zhu | 1 | -0/+8 | |
Add vcn firmware support for yellow carp Signed-off-by: James Zhu <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Acked-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/jpeg: Remove harvest checking on CHIP_YELLOW_CARP | James Zhu | 1 | -3/+6 | |
Register CC_UVD_HARVESTING is obsolete on CHIP_YELLOW_CARP. Signed-off-by: James Zhu <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Acked-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amd/pm: add vcn/jepg enable functions for yellow carp | Huang Rui | 1 | -0/+33 | |
This patch is to add vcn/jepg enable functions to power up/down them with smu messages. VCN/JEPG are poweroff by default. Signed-off-by: Huang Rui <[email protected]> Reviewed-by: James Zhu <[email protected]> Tested-by: James Zhu <[email protected]> Reviewed-by: Leo Liu <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add IH Clock Gating support for yellow carp | Aaron Liu | 1 | -1/+2 | |
IH CG need to be enabled by driver. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add ATHUB Clock Gating support for yellow carp | Aaron Liu | 1 | -1/+3 | |
ATHUB MGCG/MGLS is enabled by default. Adding ATHUB MGCG/MGLS flag to ensure athub mgcg/ls enabled. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add HDP Clock Gating support for yellow carp | Aaron Liu | 1 | -1/+3 | |
HDP MGCG is enabled by default. Adding AMD_CG_SUPPORT_HDP_MGCG to ensure hdp mgcg enabled. HDP MGLS need to be enabled by driver. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add SDMA Clock Gating support for yellow carp | Aaron Liu | 1 | -1/+2 | |
Add AMD_CG_SUPPORT_SDMA_LS support. SDMA MGCG programming is migrated to RLC. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: enable gfx_off in yellow carp smu post init | Aaron Liu | 1 | -0/+13 | |
Enable gfx_off in smu_late_init for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: add gfx_off_control for yellow carp | Aaron Liu | 3 | -0/+24 | |
This patch implements gfx_off_control. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: enable smu_hw_init for yellow carp | Aaron Liu | 1 | -3/+0 | |
This patch is to enable smu_hw_init for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add GFX Power Gating support for yellow carp | Aaron Liu | 1 | -1/+1 | |
Add GFX Power Gating support. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add MMHUB Clock Gating support for yellow carp | Aaron Liu | 1 | -1/+3 | |
Add AMD_CG_SUPPORT_MC_MGCG/AMD_CG_SUPPORT_MC_LS support. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add GFX Clock Gating support for yellow carp | Aaron Liu | 1 | -1/+9 | |
Add below supports: GFX Coarse Grain Clock Gating(CGCG) GFX Coarse grain light sleep/deep sleep(CGLS) GFX Medium Grain Clock Gating(MGCG) GFX Medium Grain light sleep/deep sleep(MGLS) GFX Fine Grain Clock Gating(FGCG) RLC MGLS CP MGLS Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: add set_driver_table_location implementation for yellow carp | Aaron Liu | 3 | -0/+25 | |
This patch adds set_driver_table_location implementation for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: set_pp_feature is unsupport for yellow carp | Aaron Liu | 1 | -2/+1 | |
For yellow carp, SMU firmware just only supports get_pp_feature. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: enable psp_v13 for yellow carp | Aaron Liu | 2 | -0/+6 | |
This patch enables psp_v13 for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add psp_v13 support for yellow carp | Aaron Liu | 1 | -7/+26 | |
This patch adds psp_v13 support for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add mmhub client support for yellow carp | Alex Deucher | 1 | -0/+1 | |
To help debugging GPUVM page faults. Acked-by: Huang Rui <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: reserved buffer is not needed with ip discovery enabled | Aaron Liu | 1 | -4/+7 | |
When IP discovery enabled, the reserved buffer has been alloacted. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: introduce a stolen reserved buffer to protect specific buffer ↵ | Huang Rui | 5 | -0/+32 | |
region (v2) Some ASICs such as Yellow Carp needs to reserve a region of video memory to avoid access from driver. So this patch is to introduce a stolen reserved buffer to protect specific buffer region. v2: free this buffer in amdgpu_ttm_fini. Signed-off-by: Huang Rui <[email protected]> Acked-and-Tested-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add gfx golden settings for yellow carp (v3) | Aaron Liu | 1 | -0/+29 | |
This patch is to add gfx golden settings for yellow carp post si. v2: squash in updates (Alex) v3: squash in LDS update (Alex) Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add smu ip block for yellow carp(V3) | Aaron Liu | 3 | -1/+5 | |
Yellow carp smu ip version: 13_0_1. V2: rename smu_v13_0 to smu_v13_0_1. V3: reuse smu_v13_0 with aldebaran. Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amd/pm: partially enable swsmu for yellow carp(V2) | Aaron Liu | 1 | -0/+6 | |
This patch is to partially enable swSMU for yellow carp for the moment. V2: rename smu_v13_0 to smu_v13_0_1. Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amd/pm: add yellow_carp_ppt implementation(V3) | Aaron Liu | 3 | -1/+192 | |
yellow_carp_ppt is swsmu layer 2 code for yellow carp. V2: rename smu_v13_0 to smu_v13_0_1 V3: cleanup code. Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amd/pm: add smu13 ip support for moment(V3) | Aaron Liu | 4 | -1/+185 | |
For supporting yellow carp, we need to add smu13 ip support for the moment. V2: add smu_v13_0_1.c|h dedicated for apu. V3: cleanup code. Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: add smu v13.0.1 smc header for yellow carp (v2) | Aaron Liu | 1 | -0/+97 | |
This patch is to add smu v13.0.1 smc header for yellow carp. v2: squash in updates (Alex) Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu/pm: add smu v13.0.1 firmware header for yellow carp (V4) | Aaron Liu | 1 | -0/+139 | |
This patch is to add smu v13.0.1 firmware header for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/admgpu/pm: add smu v13 driver interface header for yellow carp (v3) | Aaron Liu | 1 | -0/+222 | |
This patch is to add smu v13 driver interface header for yellow carp. v2: squash in updates (Alex) v3: squash in v69.29.0 update (Alex) Signed-off-by: Aaron Liu <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: support nbio_7_2_1 for yellow carp | Aaron Liu | 1 | -38/+104 | |
This patch adds nbio_7_2_1 support yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdkfd: add yellow carp KFD support | Aaron Liu | 6 | -0/+75 | |
This patch is to add GFX10 based Yellow Carp KFD support. We will bypass IOMMU v2. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: set ip blocks for yellow carp | Aaron Liu | 1 | -0/+9 | |
Enable ip blocks for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add sdma support for yellow carp | Aaron Liu | 1 | -0/+7 | |
This patch adds the sdma v5.2 support for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add gfx support for yellow carp | Aaron Liu | 1 | -0/+26 | |
Add yellow carp checks to gfx10 code. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: support fw load type for yellow carp | Aaron Liu | 1 | -0/+1 | |
This patch sets fw load type as direct with fw_load_type=0 for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add gmc v10 supports for yellow carp | Aaron Liu | 1 | -2/+7 | |
Add gfx memory controller support for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add yellow carp support for ih block | Aaron Liu | 1 | -0/+1 | |
This patch adds the support for yellow carp ih block. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add nv common ip block support for yellow carp | Aaron Liu | 1 | -0/+8 | |
This patch adds common ip support for yellow carp. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add yellow_carp_reg_base_init function for yellow carp (v2) | Alex Deucher | 4 | -1/+1420 | |
This patch adds yellow_carp_reg_base_init function to init the register base for yellow carp. v2: squash in updates (Alex) Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add yellow carp support for gpu_info and ip block setting | Aaron Liu | 1 | -0/+7 | |
This patch adds yellow carp support for gpu_info firmware and ip block setting. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add uapi to define yellow carp series | Aaron Liu | 1 | -0/+1 | |
Add a flag to define yellow carp series. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add yellow carp asic_type enum | Aaron Liu | 2 | -0/+2 | |
This patch adds yellow carp to amd_asic_type enum and amdgpu_asic_name[]. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add yellow carp asic header files (v3) | Aaron Liu | 6 | -0/+192037 | |
This patch is to add yellow carp asic header files. v2: squash in updates (Alex) v3: squash in DCN updates (Alex) Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | radeon: use memcpy_to/fromio for UVD fw upload | Chen Li | 1 | -2/+2 | |
I met a gpu addr bug recently and the kernel log tells me the pc is memcpy/memset and link register is radeon_uvd_resume. As we know, in some architectures, optimized memcpy/memset may not work well on device memory. Trival memcpy_toio/memset_io can fix this problem. BTW, amdgpu has already done it in: commit ba0b2275a678 ("drm/amdgpu: use memcpy_to/fromio for UVD fw upload"), that's why it has no this issue on the same gpu and platform. Signed-off-by: Chen Li <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | radeon: fix coding issues reported from sparse | Chen Li | 1 | -11/+13 | |
Also fix some coding issues reported from sparse. Signed-off-by: Chen Li <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm: amdgpu: Remove unneeded semicolon in amdgpu_vm.c | Wan Jiabing | 1 | -1/+1 | |
Fix following coccicheck warning: ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:1726:2-3: Unneeded semicolon Reviewed-by: Christian König <[email protected]> Signed-off-by: Wan Jiabing <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amd/pm: Fix fall-through warning for Clang | Gustavo A. R. Silva | 1 | -0/+1 | |
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: Modify GC register access to use _SOC15 macros | Rohit Khaire | 1 | -21/+21 | |
In SRIOV environment, KMD should access GC registers with RLCG if GC indirect access flag enabled. Using _SOC15 read/write macros ensures that they go through RLC when flag is enabled. Signed-off-by: Rohit Khaire <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: Enable RLCG read/write interface for Sienna Cichlid | Rohit Khaire | 1 | -1/+1 | |
Enable this only for Sienna Cichild since only Navi12 and Sienna Cichlid support SRIOV Signed-off-by: Rohit Khaire <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: Fix incorrect register offsets for Sienna Cichlid | Rohit Khaire | 1 | -5/+21 | |
RLC_CP_SCHEDULERS and RLC_SPARE_INT0 have different offsets for Sienna Cichlid Signed-off-by: Rohit Khaire <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |