]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: correct the reset logic
authorPing Gao <ping.a.gao@intel.com>
Wed, 26 Oct 2016 05:36:41 +0000 (13:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 26 Oct 2016 05:36:41 +0000 (13:36 +0800)
commit1538d532192bc1be57072f45084b756cc7ffbade
treefad073bb536e12ba7830b701db4afcfc62dac2fb
parentb9ddb08c59478186677c00b757f3ff9951f301df
drm/i915/gvt: correct the reset logic

The current_vgpu will set to NULL after stopping the scheduler when
the reset is triggered by current vgpu, so here need change the
judgement condition for current vgpu detection.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c