[Mesa-dev] [PATCH 00/10] DRI interface, gallium: User-specified transfer stride
Marek Olšák
maraeo at gmail.com
Fri Apr 27 21:50:19 UTC 2018
FYI, this series is open for reviews again and planned to be pushed soon.
Marek
On Thu, Apr 26, 2018 at 10:13 PM, Marek Olšák <maraeo at gmail.com> wrote:
> Please ignore this series.
>
> Marek
>
> On Wed, Apr 25, 2018 at 5:16 PM, Marek Olšák <maraeo at gmail.com> wrote:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180427/178b088a/attachment.html>
More information about the mesa-dev
mailing list