]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Remove VRAM from shared bo domains.
authorSamuel Li <Samuel.Li@amd.com>
Wed, 18 Apr 2018 20:26:18 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:43 +0000 (13:43 -0500)
commit3ad570f59a8812b5e72c0d01f0b3800bb0079b35
tree16a67de3810baa11771ebc04c146bf1801efee8b
parentb8a2b96d57c34081ea67d31d7724c1e98ce3da48
drm/amdgpu: Remove VRAM from shared bo domains.

This fixes an issue introduced by change "allow framebuffer in GART
memory as well" which could lead to a shared buffer ending up
pinned in vram.  Use GTT if it is included in the domain, otherwise
return an error.

Signed-off-by: Samuel Li <Samuel.Li@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c