]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: init/destroy vgpu_idr properly
authorJike Song <jike.song@intel.com>
Fri, 6 Jan 2017 07:16:21 +0000 (15:16 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jan 2017 03:11:08 +0000 (11:11 +0800)
commit07ac36642af5522f1841f247b8464fc99821e646
treecbaa14ab4af15643d5abd304a660c78bbb3d1193
parent08e4f6ca7953625e1fa56eb548b02e453e321e79
drm/i915/gvt: init/destroy vgpu_idr properly

An idr should be initialized before use and destroyed afterwards.

Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.c