On 02.01.2013 04:44, Mark Zhang wrote:
Agree. If we are able to do something dynamically, normally that'll be better.
Terje, we can get the Tegra version in FUSE. I think we don't need this kind of try-catch logics.
We'd need to have in user space a map of SoC version -> number of sync points. As kernel already has this and checks for invalid fences, I don't think user space needs the same check.
We're anyway talking about a possibility of coding error, nothing that can happen on properly working software, so I wouldn't want to add any code that isn't absolutely necessary to catch that.
Terje