OSDN Git Service

drm/amdgpu: Add a low priority scheduler for VRAM clearing
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 17 May 2023 19:53:50 +0000 (15:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:54:40 +0000 (10:54 -0400)
commitc3aaca43fb07ce05f3a3bd85288eb3d500469be5
tree666c12421b710de17c7c646d1202acfa9fe0ae27
parent1fbc69b8f543864fa0a6c4b5d95fb5f9f5d23d33
drm/amdgpu: Add a low priority scheduler for VRAM clearing

Add a low priority DRM scheduler for VRAM clearing instead of using
the exisiting high priority scheduler. Use the high priority scheduler
for migrations and evictions.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h