drm/amdgpu: Refactor code to handle non coherent and uncached
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Tue, 5 Apr 2022 14:42:47 +0000 (10:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:04 +0000 (09:31 -0400)
commit44998fbdcdc39253cb10293c3c27dabc040ad7e8
tree43f8a4d55092767fd259be9ae469304afdb03748
parent2207efdd8388bd300a0051b1775705d890abd306
drm/amdgpu: Refactor code to handle non coherent and uncached

This simplifies existing coherence handling for Arcturus and Aldabaran
to account for !coherent && uncached scenarios.

Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c