drm/amdgpu: once more fix amdgpu_bo_create_kernel_at
authorChristian König <christian.koenig@amd.com>
Tue, 24 Sep 2019 11:29:27 +0000 (13:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:03 +0000 (09:11 -0500)
commit4a246528677380befaea5c7de0ee0911d3ccf1d3
tree57484fc35e2e2752cdae1c5a9d5eacbba90a7ee9
parentd02a7061b3d9e2d0c17436f96e6de06165ebcabd
drm/amdgpu: once more fix amdgpu_bo_create_kernel_at

When CPU access is needed we should tell that to
amdgpu_bo_create_reserved() or otherwise the access is denied later on.

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