[Intel-gfx] [PATCH v3 2/2] drm/i915: Warn in debug builds of incorrect usages of ptr_pack_bits
Chris Wilson
chris at chris-wilson.co.uk
Fri Nov 3 09:50:46 UTC 2017
Quoting Tvrtko Ursulin (2017-11-03 09:05:38)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> GEM_BUG_ON if the packed bits do not fit into the specified width.
>
> v2: Avoid using the macro argument twice.
> v3: Drop unnecessary braces. (Joonas)
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> (v1)
s/ (v1)//
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
-Chris
More information about the Intel-gfx
mailing list