summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpengfuyuan <pengfuyuan@kylinos.cn>2022-06-16 10:08:03 +0300
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2022-06-22 09:49:25 +0300
commit14d6a086f6b91238873d3363f840a91b3aa062de (patch)
tree2eb21528e5f6e4f2c5946c7251afb18e8391f405
parentfc98eb494c4be6aed076c1ad21d46d5950415ca0 (diff)
downloadlinux-14d6a086f6b91238873d3363f840a91b3aa062de.tar.xz
drm/i915: Fix spelling typo in comment
Fix spelling typo in comment. Reported-by: k2ci <kernel-bot@kylinos.cn> Signed-off-by: pengfuyuan <pengfuyuan@kylinos.cn> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/tencent_7B226C4A9BC2B5EEB37B70C188B5015D290A@qq.com
-rw-r--r--drivers/gpu/drm/i915/gem/i915_gem_tiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gem/i915_gem_tiling.c b/drivers/gpu/drm/i915/gem/i915_gem_tiling.c
index 80ac0db1ae8c..85518b28cd72 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_tiling.c
@@ -114,7 +114,7 @@ u32 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size,
return i915_gem_fence_size(i915, size, tiling, stride);
}
-/* Check pitch constriants for all chips & tiling formats */
+/* Check pitch constraints for all chips & tiling formats */
static bool
i915_tiling_ok(struct drm_i915_gem_object *obj,
unsigned int tiling, unsigned int stride)