Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-05-05 | drm/amdkfd: add asic support for SDMA 6.0.2 | Eric Huang | 1 | -0/+2 | |
It is inherited from SDMA 6.0.0. Signed-off-by: Eric Huang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu: add sdma 6.0.2 firware support | Flora Cui | 1 | -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-05 | drm/amdgpu/discovery: enable vcn/jpeg v4_0_4 | James Zhu | 1 | -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-05 | drm/amdgpu: Enable vcn v4_0_4 sram | Sonny Jiang | 1 | -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-05 | drm/amdgpu/vcn: enable VCN DPG mode for VCN4_0_4 | James Zhu | 1 | -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-05 | drm/amdgpu/vcn: enable VCN PG for VCN4_0_4 | James Zhu | 1 | -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-05 | drm/amdgpu/vcn: enable VCN CG for VCN4_0_4 | James Zhu | 1 | -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-05 | drm/amdgpu/jpeg: enable JPEG PG for VCN4_0_4 | James Zhu | 1 | -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-05 | drm/amdgpu/jpeg: enable JPEG CG for VCN4_0_4 | James Zhu | 1 | -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-05 | drm/amdgpu: add VCN4_0_4 firmware | James Zhu | 1 | -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-05 | drm/amdgpu/discovery: add psp13 support for PSP 13.0.7 | Chengming Gui | 1 | -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-05 | drm/amdgpu/psp13: add support for MP0 13.0.7 | Chengming Gui | 2 | -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-05 | drm/amdgpu/discovery: add gmc11 support for GC 11.0.2 | Flora Cui | 1 | -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-05 | drm/amdgpu: add GMC11 support for GC 11.0.2 | Flora Cui | 1 | -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-05 | drm/amdgpu: add UMC 8.11.0 support | Flora Cui | 1 | -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-05 | drm/amdgpu: split mmhub v3_0_2 callbacks from mmhub v3_0 | Hawking Zhang | 1 | -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-05 | drm/amdgpu: add mmhub v3_0_2 ip callback functions | Hawking Zhang | 3 | -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-05 | drm/amdgpu: add mmhub v3_0_2 ip headers | Hawking Zhang | 2 | -0/+8653 | |
Add mmhub v3_0_2 register offset and shift masks v2: update to latest headers Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu/discovery: add SMUIO_13_0_8 func support | Chengming Gui | 1 | -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-05 | drm/amdgpu/discovery: add hdp6 support for HDP 6.0.1 | Flora Cui | 1 | -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-05 | drm/amdgpu/discovery: add nbio 4.3 support for NBIO 4.3.1 | Flora Cui | 1 | -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-05 | drm/amdgpu/discovery: add smu13 support for MP1 13.0.7 | Flora Cui | 1 | -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-05 | drm/amdgpu/discovery: add ih6 support for IH 6.0.2 | Flora Cui | 1 | -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-05 | drm/amdgpu: add support for ATHUB 3.0.2 | Flora Cui | 1 | -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-05 | drm/amdgpu/discovery: add soc21 support for GC 11.0.2 | Flora Cui | 1 | -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-05 | drm/amdgpu: add soc21 support for GC 11.0.2 | Flora Cui | 1 | -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-05 | drm/amdgpu: enable clock gating for HDP 6.0 | Evan Quan | 2 | -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-05 | drm/amdgpu: enable clock gating for IH 6.0 | Evan Quan | 1 | -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-05 | drm/amdgpu: enable MGCG and LS for MMHUB 3.0 | Evan Quan | 2 | -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-05 | drm/amdgpu: enable MGCG and LS for ATHUB 3.0 | Evan Quan | 2 | -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-05 | drm/amd/pm: enable more dpm features to pair with PMFW 78.31.0 | Evan Quan | 1 | -0/+6 | |
Enables the support for DCN DPM and DCFCLK DS features. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable gfx ulv feature control for SMU 13.0.0 | Evan Quan | 3 | -0/+16 | |
Fulfill the interface for gfx ulv control. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable deep sleep features control for SMU 13.0.0 | Evan Quan | 3 | -0/+85 | |
Fulfill the interface for deep sleep features control. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: support more DPM features for SMU 13.0.0 | Evan Quan | 1 | -0/+16 | |
To pair with 78.30.0 PMFW, support more dpm features: - UCLK DPM (disabled temporarily) - VMEMP Scaling (disabled temporarily) - VDDIO Scaling (disabled temporarily) - GFXCLK DS - SOCCLK DS - MPCLK Deep Sleep on VDD_SOC - MPCLK Deep Sleep on VDD_BACO - Memory Temperature Reading (disabled temporarily) Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Likun Gao <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu: enable more GFX clockgating features for GC 11.0.0 | Evan Quan | 4 | -15/+93 | |
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-05 | drm/amd/pm: enable df cstate feature for SMU 13.0.0 | Evan Quan | 1 | -0/+2 | |
As the feature is ready with 78.29.0 PMFW. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable PMLOG support for SMU 13.0.0 | Evan Quan | 1 | -0/+1 | |
Fulfill the interface for setting PMLOG DramAddr on SMU 13.0.0. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable ppfeature mask setting for SMU 13.0.0 | Evan Quan | 1 | -0/+2 | |
Fulfill the interfaces for retrieving and setting ppfeature masks on SMU 13.0.0. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable RunDcBtc support for SMU 13.0.0 | Evan Quan | 3 | -0/+14 | |
Fulfill the RunDcBtc for SMU 13.0.0. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable power profile setting for SMU 13.0.0 | Evan Quan | 1 | -0/+154 | |
Fulfill the interfaces for retrieving and setting power profile mode on SMU 13.0.0. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable ac/dc switching for SMU 13.0.0 | Evan Quan | 1 | -0/+2 | |
Fulfill the ->set_power_source interface which notifies PMFW the current system power source(AC/DC). Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amd/pm: enable power limit retrieving and setting for SMU 13.0.0 | Evan Quan | 1 | -0/+42 | |
Fulfill the interfaces for retrieving and setting power limit on SMU 13.0.0. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu: simplify the return expression of vega10_ih_hw_init() | Minghao Chi | 1 | -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-05 | drm/amdgpu: simplify the return expression | Minghao Chi | 1 | -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]> | |||||
2022-05-05 | drm/amdgpu/gfx11: Avoid uninitialised variable 'index' | Mike Lothian | 1 | -1/+2 | |
This stops clang complaining: drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:376:6: warning: variable 'index' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (ring->is_mes_queue) { ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:433:30: note: uninitialized use occurs here amdgpu_device_wb_free(adev, index); ^~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:376:2: note: remove the 'if' if its condition is always false if (ring->is_mes_queue) { ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:364:16: note: initialize the variable 'index' to silence this warning unsigned index; ^ = 0 Signed-off-by: Mike Lothian <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu/gfx10: Avoid uninitialised variable 'index' | Mike Lothian | 1 | -1/+2 | |
This stops clang complaining: drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3846:6: warning: variable 'index' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (ring->is_mes_queue) { ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3903:30: note: uninitialized use occurs here amdgpu_device_wb_free(adev, index); ^~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3846:2: note: remove the 'if' if its condition is always false if (ring->is_mes_queue) { ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:3839:16: note: initialize the variable 'index' to silence this warning unsigned index; ^ = 0 Signed-off-by: Mike Lothian <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu/gfx11: Add missing break | Mike Lothian | 1 | -0/+1 | |
This stops clang complaining: drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5895:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5895:2: note: insert 'break;' to avoid fall-through default: ^ break; Signed-off-by: Mike Lothian <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | Revert "drm/amdgpu: disable runpm if we are the primary adapter" | Alex Deucher | 3 | -35/+0 | |
This reverts commit b95dc06af3e683d6b7ddbbae178b2b2a21ee8b2b. This workaround is no longer necessary. We have a better workaround in commit f95af4a9236695 ("drm/amdgpu: don't runtime suspend if there are displays attached (v3)"). Reviewed-by: Javier Martinez Canillas <[email protected]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-05 | drm/amdgpu/gfx11: remove some register fields that no longer exist | Alex Deucher | 2 | -9/+0 | |
Some copy paste leftovers for older asics. They were protected by __BIG_ENDIAN, so we didn't notice them initially. Reported-by: kernel test robot <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2022-05-04 | drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT | Harry Wentland | 1 | -1/+1 | |
A faulty receiver might report an erroneous channel count. We should guard against reading beyond AUDIO_CHANNELS_COUNT as that would overflow the dpcd_pattern_period array. Signed-off-by: Harry Wentland <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] |