]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit89746e790ae5840d23f244c98cab6f45625463b4
tree642ce55de92073711ad388b6a4345eece7493b85
parent928f0cd0eb0511e19b416e34a030ebff6785fa52
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