]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7aaccb110da20519a9a96a749eb3e8b30a36c0a
tree275422c59febed4098be46f5c5d72920745f5e53
parent4ee35d74b5188e9b989a5259fc15a4cf3b94a99e
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