Re: [PATCH 1/2] drm/amdgpu: set preferred_domain independent of fallback handling

2018-04-18 Thread Christian König
Am 18.04.2018 um 04:19 schrieb Chunming Zhou: When GEM needs to fallback to GTT for VRAM BOs we still want the preferred domain to be untouched so that the BO has a cance to move back to VRAM in the future. Change-Id: I8cfdf3f30532f7e5d80b8e4266b7800211de2f0b Signed-off-by: Chunming Zhou Revi

[PATCH 1/2] drm/amdgpu: set preferred_domain independent of fallback handling

2018-04-17 Thread Chunming Zhou
When GEM needs to fallback to GTT for VRAM BOs we still want the preferred domain to be untouched so that the BO has a cance to move back to VRAM in the future. Change-Id: I8cfdf3f30532f7e5d80b8e4266b7800211de2f0b Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c| 1 +

[PATCH 1/2] drm/amdgpu: set preferred_domain independent of fallback handling

2018-04-17 Thread Chunming Zhou
When GEM needs to fallback to GTT for VRAM BOs we still want the preferred domain to be untouched so that the BO has a cance to move back to VRAM in the future. Change-Id: I8cfdf3f30532f7e5d80b8e4266b7800211de2f0b Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c| 1 +