diff options
| author | Oak Zeng <Oak.Zeng@amd.com> | 2020-08-07 06:17:35 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-14 23:22:40 +0300 |
| commit | 9fb1506eb671aa1640a8bd60f0121b94041a1f6a (patch) | |
| tree | ab1e6aac7a543a9a58d4a570c76af9e211f33829 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 2f53072434525eccdd4a4cab3837096c1a3df357 (diff) | |
| download | linux-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
