aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-07-04 17:16:42 +0900
committerAlex Deucher <alexander.deucher@amd.com>2017-07-14 11:06:34 -0400
commitcb2dd1a6b641b015b30e4272198e6035d7777adb (patch)
tree3683a20e1ffbe4f3587cce28b27cd333722cb96e /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parent41d9a6a728ea34d697dc74bc5fea1b6f6c5fce80 (diff)
drm/amdgpu: Try evicting from CPU visible to invisible VRAM first
This gives BOs which haven't been accessed by the CPU since they were moved to visible VRAM another chance to stay in VRAM when another BO needs to go to visible VRAM. This should allow BOs to stay in VRAM longer in some cases. v2: * Only do this for BOs which don't have the AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED flag set. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions