diff options
| author | Christian König <[email protected]> | 2016-09-09 11:21:43 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-09-14 15:10:43 -0400 |
| commit | aa29040b437be9e4255062aa38bcbe7cb50da8c1 (patch) | |
| tree | e3e9c09aef76de44e3bd55c59275dbcb47b7bdd0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
| parent | 7c732ea64993b9f37daff9bd95b552576304b6d9 (diff) | |
drm/amdgpu: validate size and offset of user fence BO
We need to validate the offset to make sure that we don't write after the BO.
Additional to that a page should be enough and can make address space
handling much easier.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions