diff options
| author | Oak Zeng <Oak.Zeng@amd.com> | 2020-08-06 22:17:35 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-14 16:22:40 -0400 |
| commit | 9fb1506eb671aa1640a8bd60f0121b94041a1f6a (patch) | |
| tree | ab1e6aac7a543a9a58d4a570c76af9e211f33829 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: pass NULL pointer instead of 0 (diff) | |
| download | linux-9fb1506eb671aa1640a8bd60f0121b94041a1f6a.tar.gz linux-9fb1506eb671aa1640a8bd60f0121b94041a1f6a.zip | |
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_virt.c')
0 files changed, 0 insertions, 0 deletions
