diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-09 12:00:08 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2019-10-07 10:44:46 -0700 |
commit | 6c76a93c453643e11a1063906c7c39168dd8d163 (patch) | |
tree | 6fd198e07e3e2bafe0060c3326eac911b52ffc94 /drivers/hv/hv_fcopy.c | |
parent | 93be1bae759e1c9d610835469c631913bfa42001 (diff) |
drm/i915: Perform GGTT restore much earlier during resume
As soon as we re-enable the various functions within the HW, they may go
off and read data via a GGTT offset. Hence, if we have not yet restored
the GGTT PTE before then, they may read and even *write* random locations
in memory.
Detected by DMAR faults during resume.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Martin Peres <martin.peres@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190909110011.8958-4-chris@chris-wilson.co.uk
(cherry picked from commit cec5ca08e36fd18d2939b98055346b3b06f56c6c)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/hv/hv_fcopy.c')
0 files changed, 0 insertions, 0 deletions