summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2023-05-10 16:49:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-08-31 16:40:53 -0400
commit3488c79beafac3efbac571a2ebffc8ffd78bb7f0 (patch)
treee00e7bb22fb4f16e9871cbf9955df5588c237749 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent2da1b04a209601fe6e4bfcecdcaf8561c126072f (diff)
downloadlinux-3488c79beafac3efbac571a2ebffc8ffd78bb7f0.tar.gz
linux-3488c79beafac3efbac571a2ebffc8ffd78bb7f0.tar.bz2
linux-3488c79beafac3efbac571a2ebffc8ffd78bb7f0.zip
drm/amdgpu: add initial support for UMSCH
Add basic data structure, dummy ring functions and ip functions for UMSCH. Implement sw_init(ring_init and init_microcodede) and hw_init(load_microcode), UMSCH can boot up now. Implement hw_init(ring_start) and hw_fini(ring_stop), UMSCH is ready for command submission now. Implement set_hw_resources and add/remove_queue, UMSCH is ready for scheduling now. Aggregated doorbell is used to notify UMSCH FW that there is unmapped queue with corresponding priority level (e.g., AGDB[0] for Real time band, etc.) is updating its job. v2: squash together initial patches to avoid breaking the build (Alex) Signed-off-by: Lang Yu <Lang.Yu@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions