diff options
author | Xiaolin Zhang <xiaolin.zhang@intel.com> | 2017-12-05 09:45:32 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-12-22 11:33:00 +0300 |
commit | 4e889d62b89d00e641d588eafed7e721e0a46090 (patch) | |
tree | 2a0153c0b2cb561970bb0284e22b2e50a2be560f /drivers/gpu/drm/i915/gvt/mmio_context.c | |
parent | c20164dbd508c410f5d5f6b121e6cfae7c2da8ba (diff) | |
download | linux-4e889d62b89d00e641d588eafed7e721e0a46090.tar.xz |
drm/i915/gvt: Fix pipe A enable as default for vgpu
observed igt drv_module_reload test case failure on 4.15.0
rc2 kernel with panic due to no active pipe available.
the gpu will reset during unload/load and make pipe config reg
lost which can cause kernel panic issue happen.
this patch is to move pipe enabling to emulate_mointor_status_chagne
to handle vgpu reset case as well.
Fixes: 7e6059020894 ("drm/i915/gvt: enabled pipe A default on creating vgpu")
Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
(cherry picked from commit f5f00e7dcc4161f07b76ff1a854e8b1ea7a1ed41)
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/mmio_context.c')
0 files changed, 0 insertions, 0 deletions