On ma, 2016-08-22 at 09:03 +0100, Chris Wilson wrote: > @@ -2185,7 +2185,8 @@ struct drm_i915_gem_object { > * This is set if the object has been written to since last bound > * to the GTT > */ > - unsigned int dirty:1; > +#define I915_BO_DIRTY_SHIFT (I915_BO_ACTIVE_REF_SHIFT + 1) > +#define I915_BO_DIRTY_BIT BIT(I915_BO_DIRTY_SHIFT) Just #define I915_BO_DIRTY With that fixed (remove in the other I915_BO_* too), Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx