[igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Fix typo from src_tiling to dst_tiling
Lucas De Marchi
lucas.demarchi at intel.com
Mon May 16 16:44:22 UTC 2022
On Mon, May 16, 2022 at 08:38:24PM +0530, Jeevan B wrote:
>fix typo to avoid CRC mismatch for tile-4 tests
>
Fixes: ff9b8f21ce93 ("igt/lib: Add tile 4(F-tile) format support")
>Signed-off-by: Jeevan B <jeevan.b at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
thanks
Lucas De Marchi
>---
> lib/intel_batchbuffer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
>index ebf3c598..8680c9ba 100644
>--- a/lib/intel_batchbuffer.c
>+++ b/lib/intel_batchbuffer.c
>@@ -658,7 +658,7 @@ static uint32_t fast_copy_dword1(unsigned int src_tiling,
> if (src_tiling == I915_TILING_Yf || src_tiling == I915_TILING_4)
> /* Repurposed as Tile-4 on DG2 */
> dword1 |= XY_FAST_COPY_SRC_TILING_Yf;
>- if (dst_tiling == I915_TILING_Yf || src_tiling == I915_TILING_4)
>+ if (dst_tiling == I915_TILING_Yf || dst_tiling == I915_TILING_4)
> /* Repurposed as Tile-4 on DG2 */
> dword1 |= XY_FAST_COPY_DST_TILING_Yf;
>
>--
>2.36.0
>
More information about the igt-dev
mailing list