kernel_optimize_test/include/uapi/drm
Thierry Reding cbfbbabb89 drm/tegra: Remove gratuitous pad field
The version of the drm_tegra_submit structure that was merged all the
way back in 3.10 contains a pad field that was originally intended to
properly pad the following __u64 field. Unfortunately it seems like a
different field was dropped during review that caused this padding to
become unnecessary, but the pad field wasn't removed at that time.

One possible side-effect of this is that since the __u64 following the
pad is now no longer properly aligned, the compiler may (or may not)
introduce padding itself, which results in no predictable ABI.

Rectify this by removing the pad field so that all fields are again
naturally aligned. Technically this is breaking existing userspace ABI,
but given that there aren't any (released) userspace drivers that make
use of this yet, the fallout should be minimal.

Fixes: d43f81cbaf ("drm/tegra: Add gr2d device")
Cc: <stable@vger.kernel.org> # 3.10
Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-04-16 17:11:04 +02:00
..
armada_drm.h DRM: Armada: Add Armada DRM driver 2013-10-12 10:13:40 +01:00
drm_fourcc.h
drm_mode.h Merge tag 'v3.12' into drm-intel-next 2013-11-04 16:28:52 +01:00
drm_sarea.h
drm.h Merge branch 'primary-plane' of git://people.freedesktop.org/~robclark/linux into drm-next 2014-04-02 12:09:09 +10:00
exynos_drm.h drm/exynos: consider both case of vflip and hflip. 2013-01-04 15:54:33 +09:00
i810_drm.h
i915_drm.h drm/i915: Spelling s/auxilliary/auxiliary/ 2014-01-22 09:58:24 +01:00
Kbuild drm/msm: add a3xx gpu support 2013-08-24 14:57:18 -04:00
mga_drm.h
msm_drm.h drm/msm: validate flags, etc 2014-03-31 10:27:46 -04:00
nouveau_drm.h
omap_drm.h drm/omap: move out of staging 2013-02-16 17:38:06 -05:00
qxl_drm.h drm: add new QXL driver. (v1.4) 2013-04-12 13:51:07 +10:00
r128_drm.h
radeon_drm.h drm/radeon: track memory statistics about VRAM and GTT usage and buffer moves v2 2014-03-03 10:54:19 +01:00
savage_drm.h
sis_drm.h
tegra_drm.h drm/tegra: Remove gratuitous pad field 2014-04-16 17:11:04 +02:00
via_drm.h
vmwgfx_drm.h drm/vmwgfx: Allow prime fds in the surface reference ioctls 2014-03-28 14:19:03 +01:00