diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 7fe8fd884f06..9a534e2757cd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |||
@@ -157,7 +157,8 @@ int amdgpu_vce_sw_init(struct amdgpu_device *adev, unsigned long size) | |||
157 | 157 | ||
158 | r = amdgpu_bo_create(adev, size, PAGE_SIZE, true, | 158 | r = amdgpu_bo_create(adev, size, PAGE_SIZE, true, |
159 | AMDGPU_GEM_DOMAIN_VRAM, | 159 | AMDGPU_GEM_DOMAIN_VRAM, |
160 | AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED, | 160 | AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED | |
161 | AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS, | ||
161 | NULL, NULL, &adev->vce.vcpu_bo); | 162 | NULL, NULL, &adev->vce.vcpu_bo); |
162 | if (r) { | 163 | if (r) { |
163 | dev_err(adev->dev, "(%d) failed to allocate VCE bo\n", r); | 164 | dev_err(adev->dev, "(%d) failed to allocate VCE bo\n", r); |