commit | 9fb1506eb671aa1640a8bd60f0121b94041a1f6a | [log] [tgz] |
---|---|---|
author | Oak Zeng <Oak.Zeng@amd.com> | Thu Aug 06 22:17:35 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Aug 14 16:22:40 2020 -0400 |
tree | ab1e6aac7a543a9a58d4a570c76af9e211f33829 | |
parent | 2f53072434525eccdd4a4cab3837096c1a3df357 [diff] |
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>