- 22 6月, 2013 3 次提交
-
-
由 Terje Bergstrom 提交于
The firewall was reinitialised for each gather. Because the filter was reinitialised, it did not track the class over gather boundaries. This allowed the user application to set host1x class to one class in one gather and use that class in another gather without firewall having knowledge about that. Signed-off-by: NTerje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: NArto Merilainen <amerilainen@nvidia.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
由 Arto Merilainen 提交于
The firewall assumed that the user space always delivers a relocation table when it is accessing address registers. If userspace did not deliver a relocation table and tried to access the address registers, the code performed bad memory accesses. This patch modifies the firewall to check correctly that the firewall table is available before accessing it. In addition, check_reloc() is converted to use boolean return value (true when the reloc is valid, false when invalid). Signed-off-by: NArto Merilainen <amerilainen@nvidia.com> Acked-By: NTerje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
由 Terje Bergstrom 提交于
The firewall code used a wrong loop condition (pointer to a structure) while checking INCR opcode. This patch fixes the code to use correct loop condition (number of words remaining). Signed-off-by: NTerje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: NArto Merilainen <amerilainen@nvidia.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
-
- 22 4月, 2013 1 次提交
-
-
由 Terje Bergstrom 提交于
Add support for host1x client modules, and host1x channels to submit work to the clients. Signed-off-by: NArto Merilainen <amerilainen@nvidia.com> Signed-off-by: NTerje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: NThierry Reding <thierry.reding@avionic-design.de> Tested-by: NThierry Reding <thierry.reding@avionic-design.de> Tested-by: NErik Faye-Lund <kusmabite@gmail.com> Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
-