[Mesa-dev] [PATCH 16/17] radeonsi: atomize the scratch buffer state
Marek Olšák
maraeo at gmail.com
Mon Jan 30 11:48:26 UTC 2017
On Mon, Jan 30, 2017 at 11:01 AM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 26.01.2017 17:04, Marek Olšák wrote:
>>
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> The update frequency is very low.
>>
>> Difference: Only account for the size when allocating a new one.
>
>
> Why not in the atom emit? With this patch, the size is only accounted for in
> the first CS.
"emit" takes place after need_cs_space, which is too late. The size
should also be added in si_begin_new_cs then.
Marek
More information about the mesa-dev
mailing list