blorp: Use the correct miptail start LOD for surfaces
authorSagar Ghuge <sagar.ghuge@intel.com>
Thu, 12 Oct 2023 17:53:07 +0000 (10:53 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 21:58:59 +0000 (21:58 +0000)
commit470bb614e03d94d08f88c550dff3b0e5ef16083e
tree0df80f690abcae3ddd8d0b8949d4e0c05e28e66b
parentd9abc07151e4785f3a8392d459e1370fb34811b3
blorp: Use the correct miptail start LOD for surfaces

Use the correct miptail start LOD for the surfaces involved in the
XY_BLOCK_COPY_BLT/XY_FAST_COLOR_BLT instructions.

Thanks to Lionel for pointing out the issue.

Fixes: 46f45d62d1 ("intel/isl: Start using miptails")

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25688>
src/intel/blorp/blorp_genX_exec.h