drm/i915/gvt: remove workload from intel_shadow_wa_ctx structure
authorTina Zhang <tina.zhang@intel.com>
Fri, 17 Mar 2017 07:08:51 +0000 (03:08 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 29 Mar 2017 07:29:21 +0000 (15:29 +0800)
commitc10c12558c8bb375798b7643c762dbcc93db081a
tree275422c59febed4098be46f5c5d72920745f5e53
parent96cd733c3e7d6a5dc3cf6dc43e97f39963680351
drm/i915/gvt: remove workload from intel_shadow_wa_ctx structure

intel_shadow_wa_ctx is a field of intel_vgpu_workload. container_of() can
be used to refine the relation-ship between intel_shadow_wa_ctx and
intel_vgpu_workload. This patch removes the useless dereference.

v2. add "drm/i915/gvt" prefix. (Zhenyu)

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c
drivers/gpu/drm/i915/gvt/execlist.c
drivers/gpu/drm/i915/gvt/scheduler.h