GMC v10 includes gc and mmhub header files. It's not good to support multiple versions of gfxhub and mmhub. Because it may bring up the register mismatches. So this cleanup is to remove gc and mmhub headers in gmc_v10.c and introduce vmhub funcs helper to move all programming and accessing to the gfxhub/mmhub level. Thanks, Ray Huang Rui (5): drm/amdgpu: add member to store vm fault interrupt masks drm/amdgpu: abstract set_vm_fault_masks function to refine the programming drm/amdgpu: add vmhub funcs helper drm/amdgpu: move get_invalidate_req function into gfxhub/mmhub level drm/amdgpu: won't include gc and mmhub register headers in GMC block drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 20 ++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h | 14 ++++ drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c | 63 ++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/gfxhub_v2_1.c | 63 ++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 106 +++---------------------------- drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 63 ++++++++++++++++++ 6 files changed, 232 insertions(+), 97 deletions(-) -- 2.7.4 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx