diff options
| author | Christian König <[email protected]> | 2017-09-12 08:56:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-09-13 16:10:14 +0000 |
| commit | c09312a6532a9a976ec4e72eb3b7fa10e87a8b07 (patch) | |
| tree | 76ac1c2e7915283c4870e6f9329f1009f2183737 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
| parent | drm/amd: remove min/max addr handling from cgs (diff) | |
| download | kernel-c09312a6532a9a976ec4e72eb3b7fa10e87a8b07.tar.gz kernel-c09312a6532a9a976ec4e72eb3b7fa10e87a8b07.zip | |
drm/amdgpu: fix and cleanup amdgpu_bo_create v2
We adjusted the BO flags for USWC handling, but those never took effect
because the placement was passed in instead of generated inside this
function.
v2: better commit message
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index a4891bea2ca8..39b6bf6fb051 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h @@ -195,14 +195,6 @@ int amdgpu_bo_create(struct amdgpu_device *adev, struct reservation_object *resv, uint64_t init_value, struct amdgpu_bo **bo_ptr); -int amdgpu_bo_create_restricted(struct amdgpu_device *adev, - unsigned long size, int byte_align, - bool kernel, u32 domain, u64 flags, - struct sg_table *sg, - struct ttm_placement *placement, - struct reservation_object *resv, - uint64_t init_value, - struct amdgpu_bo **bo_ptr); int amdgpu_bo_create_reserved(struct amdgpu_device *adev, unsigned long size, int align, u32 domain, struct amdgpu_bo **bo_ptr, |
