isl: implement linear tiling row pitch requirement for display
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 14 Oct 2019 18:26:18 +0000 (21:26 +0300)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Mar 2020 19:17:10 +0000 (19:17 +0000)
commit157a3cf3ecb6917c26508c5bf641e1b8c58e6228
tree7d0e9f894ccda75ffcda2d2eeb03d79eb8320472
parentf778c48869fb52c6afc757b307d95376aaabcf50
isl: implement linear tiling row pitch requirement for display

We're missing a requirement for alignment of row pitch for the display
HW. In linear tiling, the row pitch must be a 64bytes aligned.

v2: Use correct formula to align to 64bytes (Chad)

v3: Matching {} (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4243>
src/intel/isl/isl.c