aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorOak Zeng <[email protected]>2020-08-07 03:17:35 +0000
committerAlex Deucher <[email protected]>2020-08-14 20:22:40 +0000
commit9fb1506eb671aa1640a8bd60f0121b94041a1f6a (patch)
treeab1e6aac7a543a9a58d4a570c76af9e211f33829 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: pass NULL pointer instead of 0 (diff)
downloadkernel-9fb1506eb671aa1640a8bd60f0121b94041a1f6a.tar.gz
kernel-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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions