]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reject undefined colorkey flags
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 6 Feb 2018 20:43:33 +0000 (22:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Feb 2018 16:03:36 +0000 (18:03 +0200)
commitdb2c618e0960485d2a23ac1f491cce22b764636d
tree642ce55de92073711ad388b6a4345eece7493b85
parent69ee8be6ba59f29b0ac78bcb85d1a16f35b55dcc
drm/i915: Reject undefined colorkey flags

Check that userspace isn't passing in garbage in the colorkey
ioctl flags.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180206204333.4399-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_sprite.c