summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorOak Zeng <Oak.Zeng@amd.com>2020-08-07 06:17:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-08-14 23:22:40 +0300
commit9fb1506eb671aa1640a8bd60f0121b94041a1f6a (patch)
treeab1e6aac7a543a9a58d4a570c76af9e211f33829 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent2f53072434525eccdd4a4cab3837096c1a3df357 (diff)
downloadlinux-9fb1506eb671aa1640a8bd60f0121b94041a1f6a.tar.xz
drm/amdgpu: Use function pointer for some mmhub functions
Add more function pointers to amdgpu_mmhub_funcs. ASIC specific implementation of most mmhub functions are called from a general function pointer, instead of calling different function for different ASIC. Simplify the code by deleting duplicate functions Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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