OSDN Git Service

drm/i915: Mark pin flags as u64
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Nov 2018 16:12:09 +0000 (16:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Nov 2018 20:28:26 +0000 (20:28 +0000)
commit83b466b1dc5f0b4d33f0a901e8b00197a8f3582d
tree190f1804bb9f59e48525a737394def34bec1d87b
parenta6576a8d715ae73a7e07bae4cde2c55a066501e6
drm/i915: Mark pin flags as u64

Since the flags are being used to operate on a u64 variable, they too
need to be marked as such so that the inverses are full width (and not
zero extended on 32b kernels and bdw+).

Reported-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102161232.17742-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.h