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)
commite3364dfc6a76e8d3432f3efd130f3dda6ddd698c
tree9199b13ff6c2c22c4e5b7b3f6748850b85e6e711
parent82dee2418946737b5efa8d84e07ef921727018bc
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