drm/i915/selftest: Unify use of intel_remapped_plane_info in igt_vma_rotate_remap()
authorImre Deak <imre.deak@intel.com>
Thu, 25 Mar 2021 21:48:04 +0000 (23:48 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 29 Mar 2021 19:58:12 +0000 (22:58 +0300)
commitb05787aeed320f872bda8d7f0f0a2c7b1593c7e1
treeb1017acc8d28563a284e44133a377affae1aec72
parent1b6b032aa46f6c0749555dd67f6e576504018252
drm/i915/selftest: Unify use of intel_remapped_plane_info in igt_vma_rotate_remap()

Always use the modified copy of the intel_remapped_plane_info variables.
An upcoming patch updates the dst_stride field in these copies after
which we can't use the original versions.

v2: Init view in igt_vma_rotate_remap() when declaring it. (Ville)

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-22-imre.deak@intel.com
drivers/gpu/drm/i915/selftests/i915_vma.c