OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69e331b
)
drm/i915/selftest: Fix debug message in igt_vma_remapped_gtt()
author
Imre Deak
<imre.deak@intel.com>
Thu, 25 Mar 2021 21:47:46 +0000
(23:47 +0200)
committer
Imre Deak
<imre.deak@intel.com>
Mon, 29 Mar 2021 19:54:50 +0000
(22:54 +0300)
The expected/found values were swapped in a debug message, fix this up.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210325214808.2071517-4-imre.deak@intel.com
drivers/gpu/drm/i915/selftests/i915_vma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/selftests/i915_vma.c
b/drivers/gpu/drm/i915/selftests/i915_vma.c
index
35481cf
..
23f6a21
100644
(file)
--- a/
drivers/gpu/drm/i915/selftests/i915_vma.c
+++ b/
drivers/gpu/drm/i915/selftests/i915_vma.c
@@
-959,7
+959,7
@@
static int igt_vma_remapped_gtt(void *arg)
if (val != exp) {
pr_err("%s VMA write test failed, expected 0x%x, found 0x%x\n",
*t == I915_GGTT_VIEW_ROTATED ? "Rotated" : "Remapped",
-
val, exp
);
+
exp, val
);
i915_vma_unpin_iomap(vma);
err = -EINVAL;
goto out;