i915/gen12: Fix row stride for Y-tiling

The diff looks weird because I needed to re-arrange the if-blocks to
preserve the gen sort order.

BUG=b:210276702
TEST=android.graphics.cts.MediaVulkanGpuTest

Change-Id: Iab8222db132c6b05bc9cbfc738f04269c95c4442
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3404962
Tested-by: Chad Versace <chadversary@chromium.org>
Auto-Submit: Chad Versace <chadversary@chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
1 file changed