aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h
Commit message (Collapse)AuthorAgeFilesLines
* drm/amdgpu/atomfirmware: add parser for gfx_info tableAlex Deucher2018-05-171-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]>
* drm/amdgpu: query vram type from atombiosHawking Zhang2018-03-141-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]>
* drm/amdgpu: add get_clock_info for atomfirmwareAlex Deucher2017-07-141-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]>
* drm/amdgpu/atomfirmware: implement vram_width for APUsAlex Deucher2017-07-141-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]>
* drm/amdgpu: unify some atombios/atomfirmware scratch reg functionsAlex Deucher2017-07-141-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]>
* drm/amdgpu/atomfirmware: add function to update engine hang statusAlex Deucher2017-05-101-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]>
* drm/amdgpu: add basic support for atomfirmware.h (v3)Alex Deucher2017-03-301-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]>