[Mesa-dev] [PATCH 00/14] AMD GCN tile swizzle
Marek Olšák
maraeo at gmail.com
Tue Aug 1 11:32:15 UTC 2017
On Tue, Aug 1, 2017 at 11:05 AM, Bas Nieuwenhuizen
<bas at basnieuwenhuizen.nl> wrote:
> On Tue, Aug 1, 2017 at 3:50 AM, Dave Airlie <airlied at gmail.com> wrote:
>> On 1 August 2017 at 09:40, Marek Olšák <maraeo at gmail.com> wrote:
>>> Hi,
>>>
>>> This might slightly increase MRT performance. You need the amdgpu
>>> kernel driver if you want it for SI and CI.
>>>
>>> I've fixed a few of issues with the original code, enabled it for
>>> mipmapped textures, and added GFX9 support. I wasn't able to make it
>>> work with mipmapping on SI. There is also a hack to make mipmapping
>>> work with DCC on VI - my solution is to overallocate DCC to make
>>> corruption go away with tile swizzling.
>>>
>>> I've tested SI, CI, VI.
>>>
>>> I haven't tested GFX9. The GFX9 patch is just the first version for
>>> testing. With current GB_ADDR_CONFIG, only Vega10 can do tile
>>> swizzling. The code doesn't do anything for Raven due to its (possibly
>>> incorrect) GB_ADDR_CONFIG.
>>>
>> I think this will regress radv, as I don't see it setting the
>> SHAREABLE flag anywhere
>> in the radv code, if I missed that.
>
> I think we should actually be ok, since we don't set the surf_index
> ptr in radv if the image is shareable.
Yes. If you set surf_index = NULL, it's the same as setting SHAREABLE.
Marek
More information about the mesa-dev
mailing list