diff options
author | 2018-07-26 09:50:32 +0100 | |
---|---|---|
committer | 2018-07-26 12:53:28 +0100 | |
commit | 7ed43df720c007d60bee6d81da07bcdc7e4a55ae (patch) | |
tree | 92ce837ab140871738ced19f220df0440ba5dada /drivers/gpu/drm/i915/intel_huc.c | |
parent | drm/i915: Protect guc_fini_wq() against module load abort (diff) | |
download | wireguard-linux-7ed43df720c007d60bee6d81da07bcdc7e4a55ae.tar.xz wireguard-linux-7ed43df720c007d60bee6d81da07bcdc7e4a55ae.zip |
drm/i915: Restore sane defaults for KMS on GEM error load
If we fail during GEM initialisation, we scrub the HW state by
performing a device level GPU resuet. However, we want to leave the
system in a usable state (with functioning KMS but no GEM) so after
scrubbing the HW state, we need to restore some sane defaults and
re-enable the low-level common parts of the GPU (such as the GMCH).
v2: Restore GTT entries.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180726085033.4044-2-chris@chris-wilson.co.uk
Reviewed-by: MichaĆ Winiarski <michal.winiarski@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_huc.c')
0 files changed, 0 insertions, 0 deletions