diff options
author | Alex Waterman <alexw@nvidia.com> | 2015-06-05 17:04:12 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-06-11 13:16:25 -0400 |
commit | 00721d4cb879c1d0a7b80375be2f7ce7c4e4a6d8 (patch) | |
tree | 913001120bd8d6f98378e099b32f092356540e47 /include/uapi/linux | |
parent | 9e83f881b7fd796dd9319a6a88253e4166dbd830 (diff) |
gpu: nvgpu: WAR for bad GPFIFO entries from userspace
Userspace sometimes sends GPFIFO entries with a zero length. This
is a problem when the address of the pushbuffer of zero length is
larger than 32 bits. The high bits are interpreted as an opcode and
either triggers an operation that should not happen or is trated as
invalid.
Oddly, this WAR is only necessary on simulation.
Change-Id: I8be007c50f46d3e35c6a0e8512be88a8e68ee739
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/753379
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/755814
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions