]> 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)
commit23dfa262f6f39267c7d89b603e3c0c601d23a8d6
tree9199b13ff6c2c22c4e5b7b3f6748850b85e6e711
parentb9fe2838b76dcc3ae922ea8d52088e68550caf53
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