[Intel-gfx] [PATCH 2/2] drm/i915: Compare user's 64b GTT offset even on 32b

Matthew Auld matthew.william.auld at gmail.com
Thu Oct 25 17:16:46 UTC 2018


On Thu, 25 Oct 2018 at 10:18, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Beware mixing unsigned long constants and 64b values, as on 32b the
> constant will be zero extended and discard the high 32b when used as
> a mask!
>
> Reported-by: Sergii Romantsov <sergii.romantsov at globallogic.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108282
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: stable at vger.kernel.org
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list