Commit 911e0332 authored by Imre Deak's avatar Imre Deak

drm/i915/selftest: Fix debug message in igt_vma_remapped_gtt()

The expected/found values were swapped in a debug message, fix this up.
Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325214808.2071517-4-imre.deak@intel.com
parent 69e331b4
...@@ -959,7 +959,7 @@ static int igt_vma_remapped_gtt(void *arg) ...@@ -959,7 +959,7 @@ static int igt_vma_remapped_gtt(void *arg)
if (val != exp) { if (val != exp) {
pr_err("%s VMA write test failed, expected 0x%x, found 0x%x\n", pr_err("%s VMA write test failed, expected 0x%x, found 0x%x\n",
*t == I915_GGTT_VIEW_ROTATED ? "Rotated" : "Remapped", *t == I915_GGTT_VIEW_ROTATED ? "Rotated" : "Remapped",
val, exp); exp, val);
i915_vma_unpin_iomap(vma); i915_vma_unpin_iomap(vma);
err = -EINVAL; err = -EINVAL;
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment