[Mesa-dev] [PATCH 00/42] RadeonSI cleaning up states

Marek Olšák maraeo at gmail.com
Sun Aug 30 14:08:41 PDT 2015


On Sun, Aug 30, 2015 at 11:05 PM, Grazvydas Ignotas <notasas at gmail.com> wrote:
> Hi,
>
> On Sun, Aug 30, 2015 at 10:11 PM, Marek Olšák <maraeo at gmail.com> wrote:
>> The viewport and scissor states are optimized. The main thing is that setting non-zero viewports and scissors is delayed until a shader that writes VIEWPORT_INDEX appears (which is typically never).
>
> ...
>
>>
>> Radeonsi no longer counts how much CS space it needs for draw calls and CP DMA. One need_cs_space call will make sure there are at least 2048 dwords and that's it. Even that is too many, but it's safe.
>
> Can this be done for r600 too? If so, is 2048 correct for it too?

No. r600g needs about 10000, which is too many.

>
> The series seem to conflict with my stuff, I guess I'll wait for this
> to be merged before resending mine.

Up to you.

Marek


More information about the mesa-dev mailing list