summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_object.c
diff options
context:
space:
mode:
authorKent Russell <kent.russell@amd.com>2017-08-08 07:50:46 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 14:46:16 -0400
commit5dcd33459b0039ea0be978ce6ef3e7f5dcc778d8 (patch)
tree505c724d6a0b4e3b152c7d72a306fd5c0d088b68 /drivers/gpu/drm/radeon/radeon_object.c
parent6d7d9c5aa212d069b5271cd6bb8a9e05a3e1b986 (diff)
downloadlinux-5dcd33459b0039ea0be978ce6ef3e7f5dcc778d8.tar.gz
linux-5dcd33459b0039ea0be978ce6ef3e7f5dcc778d8.tar.bz2
linux-5dcd33459b0039ea0be978ce6ef3e7f5dcc778d8.zip
drm/radeon: Fix preferred typo
Change "prefered" to "preferred" Signed-off-by: Kent Russell <kent.russell@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
index ad2a2fd171c1..093594976126 100644
--- a/drivers/gpu/drm/radeon/radeon_object.c
+++ b/drivers/gpu/drm/radeon/radeon_object.c
@@ -546,7 +546,7 @@ int radeon_bo_list_validate(struct radeon_device *rdev,
list_for_each_entry(lobj, head, tv.head) {
struct radeon_bo *bo = lobj->robj;
if (!bo->pin_count) {
- u32 domain = lobj->prefered_domains;
+ u32 domain = lobj->preferred_domains;
u32 allowed = lobj->allowed_domains;
u32 current_domain =
radeon_mem_type_to_domain(bo->tbo.mem.mem_type);