diff options
| author | Kent Russell <[email protected]> | 2017-08-08 11:58:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-08-15 18:46:16 +0000 |
| commit | 6d7d9c5aa212d069b5271cd6bb8a9e05a3e1b986 (patch) | |
| tree | a9faeee8e7dc447dc8f51fb72e75cdc26dc8c99b /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
| parent | drm/radeon: Fix stolen typo (diff) | |
| download | kernel-6d7d9c5aa212d069b5271cd6bb8a9e05a3e1b986.tar.gz kernel-6d7d9c5aa212d069b5271cd6bb8a9e05a3e1b986.zip | |
drm/amdgpu: Fix preferred typo
Change "prefered" to "preferred"
Signed-off-by: Kent Russell <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index 69806c5bcd01..8c462b091aff 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -166,7 +166,7 @@ static int amdgpu_cgs_gmap_gpu_mem(struct cgs_device *cgs_device, cgs_handle_t h r = amdgpu_bo_reserve(obj, true); if (unlikely(r != 0)) return r; - r = amdgpu_bo_pin_restricted(obj, obj->prefered_domains, + r = amdgpu_bo_pin_restricted(obj, obj->preferred_domains, min_offset, max_offset, mcaddr); amdgpu_bo_unreserve(obj); return r; |
