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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to