Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-06-08 | drm/amdgpu: remove sriov vf checking from getting fb location | Zhigang Luo | 1 | -4/+1 | |
host driver programmed fb location registers for vf, no need to check anymore. Signed-off-by: Zhigang Luo <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-By : Shaoyun.liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-08 | drm/amdgpu: fix shadow bo skip condition | Nirmoy Das | 1 | -1/+1 | |
Create shadow BOs only for no-compute VM context and only for dGPU. The existing if-condition would create shadow bo for compute context on dGPU which not what we wanted. Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-07 | drm/amdgpu: Fix a a typo in a comment | Christophe JAILLET | 1 | -1/+1 | |
s/than/then/ Acked-by: Christian König <[email protected]> Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-07 | drm/amdgpu: Fix warning of Function parameter or member not described | Eric Huang | 1 | -0/+1 | |
Add the parameter table_freed description on function description. Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-07 | drm/amdgpu: fix VM handling for GART allocations | Christian König | 1 | -2/+2 | |
For GTT allocations with a GART address the res contains the VMID0 addresses and can't be used for VM handling. So ignore the res when the pages array is given or we fill the page tables with nonsense. Signed-off-by: Christian König <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-07 | drm/amdgpu: Fixing "Indirect register access for Navi12 sriov" for vega10 | Peng Ju Zhou | 2 | -3/+4 | |
The NV12 and VEGA10 share the same interface W/RREG32_SOC15*, the callback functions in these macros may not be defined, so NULL pointer must be checked but not in macro __WREG32_SOC15_RLC__, fixing the lock of NULL pointer check. Signed-off-by: Peng Ju Zhou <[email protected]> Reviewed-by: Emily Deng <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-07 | drm/amdgpu: Update psp fw attestation support list | John Clements | 1 | -0/+3 | |
Disable support on APU Reviewed-by: Changfeng <[email protected]> Signed-off-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-07 | drm/amdgpu: Modify register access in sdma_v5_2 to use _SOC15 macros | Rohit Khaire | 1 | -35/+35 | |
In SRIOV environment, KMD should access SDMA registers through RLCG if GC indirect access flag enabled. Using _SOC15 read/write macros ensures that they go through RLC when the 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-07 | drm/ttm, drm/amdgpu: Allow the driver some control over swapping | Thomas Hellström | 1 | -0/+4 | |
We are calling the eviction_valuable driver callback at eviction time to determine whether we actually can evict a buffer object. The upcoming i915 TTM backend needs the same functionality for swapout, and that might actually be beneficial to other drivers as well. Add an eviction_valuable call also in the swapout path. Try to keep the current behaviour for all drivers by returning true if the buffer object is already in the TTM_PL_SYSTEM placement. We change behaviour for the case where a buffer object is in a TT backed placement when swapped out, in which case the drivers normal eviction_valuable path is run. Reviewed-by: Maarten Lankhorst <[email protected]> Cc: Christian König <[email protected]> Signed-off-by: Thomas Hellström <[email protected]> Acked-by: Christian König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2021-06-06 | dma-buf: drop the _rcu postfix on function names v3 | Christian König | 8 | -22/+17 | |
The functions can be called both in _rcu context as well as while holding the lock. v2: add some kerneldoc as suggested by Daniel v3: fix indentation Signed-off-by: Christian König <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2021-06-06 | dma-buf: rename and cleanup dma_resv_get_list v2 | Christian König | 4 | -4/+4 | |
When the comment needs to state explicitly that this is doesn't get a reference to the object then the function is named rather badly. Rename the function and use it in even more places. v2: use dma_resv_shared_list as new name Signed-off-by: Christian König <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2021-06-06 | dma-buf: rename and cleanup dma_resv_get_excl v3 | Christian König | 2 | -2/+2 | |
When the comment needs to state explicitly that this doesn't get a reference to the object then the function is named rather badly. Rename the function and use rcu_dereference_check(), this way it can be used from both rcu as well as lock protected critical sections. v2: improve kerneldoc as suggested by Daniel v3: use dma_resv_excl_fence as function name Signed-off-by: Christian König <[email protected]> Acked-by: Daniel Vetter <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2021-06-04 | drm/amdgpu: Add DC support and display block for Yellow Carp | Nicholas Kazlauskas | 2 | -1/+7 | |
To enable output on real display instead of virtual. Acked-by: Huang Rui <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add video_codecs query support for yellow carp | James Zhu | 1 | -0/+1 | |
Add video_codecs query support for yellow carp. Acked-by: Huang Rui <[email protected]> Signed-off-by: James Zhu <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add mode2 reset support for yellow carp | Aaron Liu | 1 | -0/+1 | |
This patch adds mode2 reset 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: correct the cu and rb info for yellow carp | Xiaomeng Hou | 1 | -2/+4 | |
Skip disabled sa to correct the cu_info and active_rbs for yellow carp. Signed-off-by: Xiaomeng Hou <[email protected]> Suggested-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add gpu harvest support for yellow carp (v2) | Xiaomeng Hou | 3 | -0/+48 | |
Register callback in gfxhub functions to program the bypass groups in gc_utcl2 corresponding to harvested SA. v2: update comments (Alex) Signed-off-by: Xiaomeng Hou <[email protected]> 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: Load TA firmware for yellow carp | Nicholas Kazlauskas | 1 | -0/+4 | |
Add TA firmware to module firmware list for yellow carp and call psp_init_ta_microcode to parse the TA firmware for HDCP support. Cc: Aaron Liu <[email protected]> Acked-by: Huang Rui <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add timestamp counter query support for yellow carp | Aaron Liu | 1 | -0/+1 | |
Allows software to query HW counters to timestamp submissions. This patch can address KFDPerfCountersTest. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Reviewed-by: chen gong <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: add RLC_PG_DELAY_3 for yellow carp | Aaron Liu | 1 | -5/+16 | |
RLC_PG_DELAY_3 is to make RLC in safe mode to prevent any misalignment or conflict in middle of any power feature entry/exit sequence when CGPG feature is 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: enable VCN PG and CG for yellow carp | Aaron Liu | 1 | -2/+6 | |
Enable VCN 3.0 PG and CG for Yellow Carp by setting up flags. Acked-by: Huang Rui <[email protected]> Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: James Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-06-04 | drm/amdgpu: enable vcn dpg mode on yellow carp | James Zhu | 1 | -1/+2 | |
Enable vcn dpg mode 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: 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/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: 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: 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 | 1 | -0/+1 | |
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/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/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 | 3 | -1/+54 | |
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 yellow carp asic_type enum | Aaron Liu | 1 | -0/+1 | |
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]> |