Re: [Mesa-dev] [PATCH 00/10] DRI interface, gallium: User-specified transfer stride
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šákwrote: > Please ignore this series. > > Marek > > On Wed, Apr 25, 2018 at 5:16 PM, Marek Olšák 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 >> > > ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH 00/10] DRI interface, gallium: User-specified transfer stride
Please ignore this series. Marek On Wed, Apr 25, 2018 at 5:16 PM, Marek Olšákwrote: > 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
[Mesa-dev] [PATCH 00/10] DRI interface, gallium: User-specified transfer stride
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