OSDN Git Service

drm/amdgpu/gmc10: use common invalidation engine helper
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2020 18:21:56 +0000 (13:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:03:47 +0000 (12:03 -0500)
commit5677c52090862d39d44920480274aff2e7289faa
tree7c5ba17869df16e04696767ca950c2d35ece17f5
parentbdbe90f04d24ba9f9bc8b5fa8aa0269473f92509
drm/amdgpu/gmc10: use common invalidation engine helper

Rather than open coding it.  This also changes the free masks
to better reflect the usage by other components.

Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-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/gmc_v10_0.c