[RFC,libdrm 1/3] tegra: Add stream library

Terje Bergström tbergstrom at nvidia.com
Sun Dec 30 22:22:18 PST 2012


On 28.12.2012 22:48, Thierry Reding wrote:
> I disagree. We shouldn't be hiding this kind of detail behind an #ifdef.
> Instead it should be detected at runtime. Otherwise you'll need to build
> different versions of libdrm for every generation of Tegra. That may be
> fine for NVIDIA provided BSPs, but distributions would have a very hard
> time dealing with that. What we want is software that works unmodified
> on as many generations of Tegra as possible.

I agree. The fences will be rejected by kernel and kernel knows about
number of sync points in each host1x revision. So, we could just submit
and look at return code.

Terje



More information about the dri-devel mailing list