Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-04-28 | drm/amdgpu: add helper to execute atomfirmware asic_init | Hawking Zhang | 1 | -0/+1 | |
Add helper function to execute atomfirmware asic_init from the cmd table Signed-off-by: Hawking Zhang <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-08-06 | drm/amdgpu: set RAS EEPROM address from VBIOS | John Clements | 1 | -0/+1 | |
update to latest atombios fw table [Backport to 5.14 - Alex] Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1670 Signed-off-by: John Clements <[email protected]> Reviewed-by: Hawking Zhang <[email protected]>. Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] | |||||
2021-05-19 | drm/amdgpu: add helper function to query dynamic boot config cap | Hawking Zhang | 1 | -0/+1 | |
Check firmware flags to determine whether dynmaic boot config is supported or not. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-05-19 | drm/amdgpu: switch to cached fw flags for mem training cap | Hawking Zhang | 1 | -1/+1 | |
Check cached firmware_flags to determin whether two stage mem training is supported or not. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-05-19 | drm/amdgpu: switch to cached fw flags for gpu virt cap | Hawking Zhang | 1 | -1/+1 | |
Check cached firmware_flags to determine if gpu virtualization is supported in vbios Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2021-05-19 | drm/amdgpu: add atomfirmware helper function to query fw cap | Hawking Zhang | 1 | -0/+1 | |
Fimware capability was changed from 16 bits to 32 bits for atomfirmware. add helper funciton to query firmware capability and cache the value at early stage. Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: John Clements <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2020-07-01 | drm/amdgpu: remove unnecessary check for mem train | Likun Gao | 1 | -1/+1 | |
a.Check whether mem train support when try to reserve related memory. b.Remove ASIC check and atom firmware table version check as the check of firmware capability is enough to achieve that purpose. Signed-off-by: Likun Gao <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2020-07-01 | drm/amdgpu: add atomfirmware helper funciton to query reserved fb size | Hawking Zhang | 1 | -0/+1 | |
fw_reserved_size_in_kb is introduced for driver to query the TMR region reserved by PSP BL in Sienna_Cichlid and onwards Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-12-23 | drm/amdgpu: update the method to get fb_loc of memory training(V4) | Tianci.Yin | 1 | -1/+1 | |
The method of getting fb_loc changed from parsing VBIOS to taking certain offset from top of VRAM Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Tianci.Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-10-17 | drm/amdgpu/atomfirmware: add memory training related helper functions(v3) | Tianci.Yin | 1 | -0/+1 | |
parse firmware to get memory training capability and fb location. Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Luben Tuikov <[email protected]> Signed-off-by: Tianci.Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-10-07 | drm/amdgpu: Report vram vendor with sysfs (v3) | Ori Messinger | 1 | -1/+1 | |
The vram vendor can be found as a separate sysfs file at: /sys/class/drm/card[X]/device/mem_info_vram_vendor The vram vendor is displayed as a string value. v2: Use correct bit masking, and cache vram_vendor in gmc v3: Drop unused functions for vram width, type, and vendor Signed-off-by: Ori Messinger <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-10-03 | drm/amdgpu/atomfirmware: simplify the interface to get vram info | Alex Deucher | 1 | -2/+2 | |
fetch both the vram type and width in one function call. This avoids having to parse the same data table twice to get the two pieces of data. Reviewed-by: Xiaojie Yuan <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-03-19 | drm/amdgpu: add atomfirmware helper function to query sram ecc caps | Hawking Zhang | 1 | -0/+1 | |
sram ecc capability could be get from firmware_capability field in firmwareinfo table Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-03-19 | drm/amdgpu: add atomfirmware helper function to query ecc status | Hawking Zhang | 1 | -0/+1 | |
ecc default status (enabled or disabled) could be get from umc_config field in umc_info table Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2019-03-19 | drm/amdgpu: move get_index_into_master_table macro into atomfirmware header | Huang Rui | 1 | -0/+2 | |
This patchs move get_index_into_master_table macro into atomfirmware header for future use on smu. Signed-off-by: Huang Rui <[email protected]> Reviewed-by: Kevin Wang <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-05-17 | drm/amdgpu/atomfirmware: add parser for gfx_info table | Alex Deucher | 1 | -0/+1 | |
Add support for the gfx_info table on boards that use atomfirmware. Acked-by: Christian König <[email protected]> Reviewed-by: Hawking Zhang <Hawking.Zhang> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-14 | drm/amdgpu: query vram type from atombios | Hawking Zhang | 1 | -0/+1 | |
The vram type for dGPU is stored in umc_info while sys mem type for APU is stored in integratedsysteminfo Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-07-14 | drm/amdgpu: add get_clock_info for atomfirmware | Alex Deucher | 1 | -0/+1 | |
The information has moved to different tables, notably smu_info for core refclk and umc_info for mem refclk. Acked-by: Chunming Zhou <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-07-14 | drm/amdgpu/atomfirmware: implement vram_width for APUs | Alex Deucher | 1 | -0/+1 | |
Implement support using the new atomfirmware system info table. Reviewed-by: Hawking Zhang <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-07-14 | drm/amdgpu: unify some atombios/atomfirmware scratch reg functions | Alex Deucher | 1 | -4/+0 | |
Now that we use a pointer to the scratch reg start offset, most of the functions were duplicated. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-05-10 | drm/amdgpu/atomfirmware: add function to update engine hang status | Alex Deucher | 1 | -0/+2 | |
Update the scratch reg for when the engine is hung. Reviewed-by: Chunming Zhou <[email protected]> Acked-by: Harry Wentland <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2017-03-29 | drm/amdgpu: add basic support for atomfirmware.h (v3) | Alex Deucher | 1 | -0/+33 | |
This adds basic support for asics that use atomfirmware.h to define their vbios tables. v2: rebase v3: squash in num scratch reg fix Acked-by: Christian König <[email protected]> Reviewed-by: Ken Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |