diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-09 12:00:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-09-10 11:49:11 +0100 |
commit | cec5ca08e36fd18d2939b98055346b3b06f56c6c (patch) | |
tree | 0431e6a15df49b3887e5750b24901c87a87e60a0 /drivers/parisc/wax.c | |
parent | 0efa99dd58754d23e884b9ba41cd601f01b58c3d (diff) | |
download | linux-stable-cec5ca08e36fd18d2939b98055346b3b06f56c6c.tar.gz linux-stable-cec5ca08e36fd18d2939b98055346b3b06f56c6c.tar.bz2 linux-stable-cec5ca08e36fd18d2939b98055346b3b06f56c6c.zip |
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
Diffstat (limited to 'drivers/parisc/wax.c')
0 files changed, 0 insertions, 0 deletions