drm/i915/gvt: Fix build failure after intel_engine_cs change
authorZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 18 Oct 2016 01:40:07 +0000 (09:40 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Oct 2016 06:24:49 +0000 (08:24 +0200)
commit1140f9ed051011e06a2a15c73efe57ac0b0cdc8d
tree3d0986cafb2122501e45488ab955bce73412d5f1
parentbfd02b3c557caa083be0d55a3164ede706a446e1
drm/i915/gvt: Fix build failure after intel_engine_cs change

Change GVT-g code reference for intel_engine_cs from static array to
allocated pointer after commit 3b3f1650b1ca ("drm/i915: Allocate
intel_engine_cs structure only for the enabled engines").

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161018014007.29369-1-zhenyuw@linux.intel.com
drivers/gpu/drm/i915/gvt/execlist.c
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/scheduler.c