Skip to content
Commit 842d4529 authored by Ole Henrik Jahren's avatar Ole Henrik Jahren Committed by Keith Packard
Browse files

drm/i915: Fix typo in DRM_I915_OVERLAY_PUT_IMAGE ioctl define



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>
Cc: stable@kernel.org
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 02f8c6ae
Loading
Loading
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