]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Fix typo in DRM_I915_OVERLAY_PUT_IMAGE ioctl define
authorOle Henrik Jahren <olehenja@alumni.ntnu.no>
Fri, 22 Jul 2011 13:56:01 +0000 (15:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:36:11 +0000 (10:36 -0700)
commit8b65599076036bbb2830391b0ca00f2d9f4bd5ce
treeb9afe46981e4a67c9b70736e6dfa123ba7c163fb
parent8d637efc631096456dba6ae73d5fdc5eecd2906d
drm/i915: Fix typo in DRM_I915_OVERLAY_PUT_IMAGE ioctl define

commit 842d452985300f4ec14c68cb86046e8a1a3b7251 upstream.

Because of a typo, calling ioctl with DRM_IOCTL_I915_OVERLAY_PUT_IMAGE
is broken if the macro is used directly. When using libdrm the bug is
not hit, since libdrm handles the ioctl encoding internally.

The typo also leads to the .cmd and .cmd_drv fields of the drm_ioctl
structure for DRM_I915_OVERLAY_PUT_IMAGE having inconsistent content.

Signed-off-by: Ole Henrik Jahren <olehenja@alumni.ntnu.no>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/drm/i915_drm.h