[PATCH] drm: Only use compat ioctl for addfb2 on X86/IA64

2016-09-15 Thread Sean Paul
On Wed, Sep 14, 2016 at 1:00 PM, Rob Clark wrote: > On Tue, Sep 13, 2016 at 5:20 PM, Kristian H. Kristensen > wrote: >> Similar to struct drm_update_draw, struct drm_mode_fb_cmd2 has an >> unaligned 64 bit field (modifier). This get packed differently between >> 32 bit and 64 bit modes on archite

[PATCH] drm: Only use compat ioctl for addfb2 on X86/IA64

2016-09-14 Thread Rob Clark
On Tue, Sep 13, 2016 at 5:20 PM, Kristian H. Kristensen wrote: > Similar to struct drm_update_draw, struct drm_mode_fb_cmd2 has an > unaligned 64 bit field (modifier). This get packed differently between > 32 bit and 64 bit modes on architectures that can handle unaligned 64 > bit access (X86 and

[PATCH] drm: Only use compat ioctl for addfb2 on X86/IA64

2016-09-13 Thread Kristian H. Kristensen
Similar to struct drm_update_draw, struct drm_mode_fb_cmd2 has an unaligned 64 bit field (modifier). This get packed differently between 32 bit and 64 bit modes on architectures that can handle unaligned 64 bit access (X86 and IA64). Other architectures pack the structs the same and don't need the