[PATCH 1/2] etnaviv: add gpu param for number of varyings

Christian Gmeiner christian.gmeiner at gmail.com
Tue Jan 19 00:38:51 PST 2016


2016-01-19 9:20 GMT+01:00 Lucas Stach <l.stach at pengutronix.de>:
> Am Dienstag, den 19.01.2016, 08:05 +0100 schrieb Christian Gmeiner:
>> The varyings count is stored as part of register VIVS_HI_CHIP_SPECS_3.
>> Userspace still needs to validate the returned values as it can be 0
>> like on the imx6q.
>>
> We already fix up some of those register values in the kernel if we know
> they are wrong for a certain core implementation. I don't want to spread
> the workarounds between kernel and userspace, but keep them in a single
> place. As we already started to fix things up in the kernel, please
> return the correct value for MX6Q to userspace.
>

I had that question too where to put that logic as there is currently some fixup
logic in mesa. Will send a larger patch series later the day

Greets
--
Christian Gmeiner, MSc

https://soundcloud.com/christian-gmeiner


More information about the dri-devel mailing list