From: Eric Anholt Date: Tue, 14 Apr 2020 18:14:31 +0000 (-0700) Subject: freedreno: Make the slice pitch be bytes, not pixels. X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=5a8718f01b3976e1bc82362a907befef68a7f525;hp=5a8718f01b3976e1bc82362a907befef68a7f525 freedreno: Make the slice pitch be bytes, not pixels. Back in a2xx, HW pitches were in pixels, so storing that was reasonable. Ever since then, the HW wants pitches in bytes, and we have only one instance of using pitch in pixels in the code (a3xx sysmem path). Flip things around so that only a2xx has to worry about the cpp for looking at pitches. Part-of: ---