Re: [Intel-gfx] [PATCH] uapi/drm/i915_drm.h: fix userspace compilation.

2015-09-02 Thread Jani Nikula
On Wed, 02 Sep 2015, Daniel Vetter wrote: > On Wed, Sep 02, 2015 at 02:52:19PM +0300, Ville Syrjälä wrote: >> On Wed, Sep 02, 2015 at 01:41:18PM +0200, Artem Savkov wrote: >> > Patch "drm/i915: Use expcitly fixed type in compat32 structs" changed the >> > type >> > of param field in drm_i915_getp

Re: [Intel-gfx] [PATCH] uapi/drm/i915_drm.h: fix userspace compilation.

2015-09-02 Thread Daniel Vetter
On Wed, Sep 02, 2015 at 02:52:19PM +0300, Ville Syrjälä wrote: > On Wed, Sep 02, 2015 at 01:41:18PM +0200, Artem Savkov wrote: > > Patch "drm/i915: Use expcitly fixed type in compat32 structs" changed the > > type > > of param field in drm_i915_getparam from int to s32. This header is > > exporte

Re: [Intel-gfx] [PATCH] uapi/drm/i915_drm.h: fix userspace compilation.

2015-09-02 Thread Ville Syrjälä
On Wed, Sep 02, 2015 at 01:41:18PM +0200, Artem Savkov wrote: > Patch "drm/i915: Use expcitly fixed type in compat32 structs" changed the type > of param field in drm_i915_getparam from int to s32. This header is exported > to > userspace and needs to use userspace type __s32 instead. > > This fi

[Intel-gfx] [PATCH] uapi/drm/i915_drm.h: fix userspace compilation.

2015-09-02 Thread Artem Savkov
Patch "drm/i915: Use expcitly fixed type in compat32 structs" changed the type of param field in drm_i915_getparam from int to s32. This header is exported to userspace and needs to use userspace type __s32 instead. This fixes userspace compilation errors like the following: include/drm/i915_drm.h