drm/i915/gt: Always try to reserve GGTT address 0x0
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 25 Jan 2021 12:50:33 +0000 (12:50 +0000)
committerJani Nikula <jani.nikula@intel.com>
Tue, 26 Jan 2021 13:45:54 +0000 (15:45 +0200)
commit489140b5ba2e7cc4b853c29e0591895ddb462a82
tree58ea7e43b76de9fe0bfe01af14ec3ecc1e15dc42
parentf6e98a1809faa02f40e0d089d6cfc1aa372a34c0
drm/i915/gt: Always try to reserve GGTT address 0x0

Since writing to address 0 is a very common mistake, let's try to avoid
putting anything sensitive there.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/2989
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210125125033.23656-1-chris@chris-wilson.co.uk
Cc: stable@vger.kernel.org
(cherry picked from commit 56b429cc584c6ed8b895d8d8540959655db1ff73)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gt/intel_ggtt.c