drm/amdgpu/gmc: move invaliation bitmap setup to common code
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2020 18:14:27 +0000 (13:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:03:42 +0000 (12:03 -0500)
commitbdbe90f04d24ba9f9bc8b5fa8aa0269473f92509
tree2f99837542cfc846c08b883ada4390ee520169b4
parentc8aa6ae30c6a5ae12f49f880479feb66a0577347
drm/amdgpu/gmc: move invaliation bitmap setup to common code

So it can be shared with newer GMC versions.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.h