]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf32c75a525bce4643112cdb7e4876f7ff52d08f1
tree58ea7e43b76de9fe0bfe01af14ec3ecc1e15dc42
parent03a9492a09dd894cf145b0f00eed29f7aaf5016c
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