diff options
author | Imre Deak <imre.deak@intel.com> | 2021-03-26 00:47:46 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2021-03-29 22:54:50 +0300 |
commit | 911e03327d4482c4c1f41164bfed9634c8ee598a (patch) | |
tree | b6b95d94ad18a4922590fbf5335e2c9e9cb8b12a /drivers/gpu/drm/i915/selftests | |
parent | 69e331b44c9c45510f45f8a99c467eaa158f455d (diff) | |
download | linux-911e03327d4482c4c1f41164bfed9634c8ee598a.tar.xz |
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: 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
Diffstat (limited to 'drivers/gpu/drm/i915/selftests')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/i915_vma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/i915_vma.c b/drivers/gpu/drm/i915/selftests/i915_vma.c index 35481cfbb635..23f6a212a391 100644 --- 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; |