Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 8b655990 authored by Ole Henrik Jahren's avatar Ole Henrik Jahren Committed by Greg Kroah-Hartman
Browse files

drm/i915: Fix typo in DRM_I915_OVERLAY_PUT_IMAGE ioctl define


commit 842d4529 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: default avatarOle Henrik Jahren <olehenja@alumni.ntnu.no>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8d637efc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment