commit | c10c12558c8bb375798b7643c762dbcc93db081a | [log] [tgz] |
---|---|---|
author | Tina Zhang <tina.zhang@intel.com> | Fri Mar 17 03:08:51 2017 -0400 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Wed Mar 29 15:29:21 2017 +0800 |
tree | 275422c59febed4098be46f5c5d72920745f5e53 | |
parent | 96cd733c3e7d6a5dc3cf6dc43e97f39963680351 [diff] |
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>