]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:59:28 +0000 (19:59 -0600)
commit5ea0088191262783f5a131de3f0adbe3d470d8dc
treee77115d806a950305aa00e307bce92fd247a147d
parentd8b47e259e14d94b2b8340d4eed55b4749bd2317
drm/i915: Mark pin flags as u64

BugLink: https://bugs.launchpad.net/bugs/1836802
commit 0014868b9c3c1dda1de6711cf58c3486fb422d07 upstream.

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
(cherry picked from commit 83b466b1dc5f0b4d33f0a901e8b00197a8f3582d)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/i915/i915_gem_gtt.h