]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: initial validate the prime BOs into the CPU domain
authorChristian König <christian.koenig@amd.com>
Tue, 20 Feb 2018 18:42:40 +0000 (19:42 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 19:38:28 +0000 (14:38 -0500)
commit73bc6ad18a961ed1316e51b0e3697ec918495c9a
tree9199b13ff6c2c22c4e5b7b3f6748850b85e6e711
parent6550ac1b35fd61bdede5bdbcef983f844444d21d
drm/amdgpu: initial validate the prime BOs into the CPU domain

Just set the GTT domain as mandatory, so that the BO is validated into
it on first use. This allows us to setup the sg table later on.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c