Hi, This feature is for gralloc, which requires drivers to be able to map an image with a stride of its own choosing, which is usually the same as the image stride. This is a very silly feature that probably comes from designing around mobile GPUs, and must be emulated on everything else.
GCN is pretty limited here. A 16x16 tiled image can have a stride of 16 because it's tiled, but the stride of a linear mapping of that image will be 64 on <= Polaris, or 256 on >= Vega. The hardware doesn't have the capability to give you a stride that is not a multiple of 64 or 256, so gralloc will have to deal with it. Nicolai wrote the first 6 commits. I added the last 4. (so I'll put my Rb on the first 6) Please review, Thanks, Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev