aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/selftests/test-drm_damage_helper.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-12-14 04:57:39 +1000
committerDave Airlie <airlied@redhat.com>2018-12-14 04:57:45 +1000
commit2a3c83f5fe0770d13bbb71b23674886ff4111f44 (patch)
tree0f8fa8be16325d4acfbbe9e92e77c797a65581e2 /drivers/gpu/drm/selftests/test-drm_damage_helper.c
parentMerge tag 'drm-msm-next-2018-12-12' of git://people.freedesktop.org/~robclark/linux into drm-next (diff)
parentdrm: Fix docs warning in drm_damage_helper.c (diff)
downloadlinux-dev-2a3c83f5fe0770d13bbb71b23674886ff4111f44.tar.xz
linux-dev-2a3c83f5fe0770d13bbb71b23674886ff4111f44.zip
Merge tag 'vmwgfx-next-2018-12-13' of git://people.freedesktop.org/~thomash/linux into drm-next
Pull request of 2018-12-13 Two minor fixes for next pull. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Hellstrom <thellstrom@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181213130848.3080-1-thellstrom@vmware.com
Diffstat (limited to 'drivers/gpu/drm/selftests/test-drm_damage_helper.c')
-rw-r--r--drivers/gpu/drm/selftests/test-drm_damage_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/selftests/test-drm_damage_helper.c b/drivers/gpu/drm/selftests/test-drm_damage_helper.c
index a2f753205a3e..9d2bcdf8bc29 100644
--- a/drivers/gpu/drm/selftests/test-drm_damage_helper.c
+++ b/drivers/gpu/drm/selftests/test-drm_damage_helper.c
@@ -53,7 +53,7 @@ static bool check_damage_clip(struct drm_plane_state *state, struct drm_rect *r,
int src_y2 = (state->src.y2 >> 16) + !!(state->src.y2 & 0xFFFF);
if (x1 >= x2 || y1 >= y2) {
- pr_err("Cannot have damage clip with no dimention.\n");
+ pr_err("Cannot have damage clip with no dimension.\n");
return false;
}