diff options
| author | Matthew Auld <[email protected]> | 2018-05-02 20:50:21 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-05-08 12:24:39 +0100 |
| commit | c11c7bfd213495784b22ef82a69b6489f8d0092f (patch) | |
| tree | 4da8be6f3997f7a8d2db60050136bfcdcfb77527 /lib/mpi/mpiutil.c | |
| parent | a02eb975be78171f66a47c103e57e7940d0860a7 (diff) | |
drm/i915/userptr: reject zero user_size
Operating on a zero sized GEM userptr object will lead to explosions.
Fixes: 5cc9ed4b9a7a ("drm/i915: Introduce mapping of user pages into video memory (userptr) ioctl")
Testcase: igt/gem_userptr_blits/input-checking
Signed-off-by: Matthew Auld <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions