Re: [Intel-gfx] [PATCH] drm/i915/gvt: clean up intel_gvt.h as interface for i915 core

2016-10-20 Thread Chris Wilson
On Thu, Oct 20, 2016 at 03:29:13PM +0800, Zhenyu Wang wrote: > @@ -214,9 +215,15 @@ int intel_gvt_init_device(struct drm_i915_private > *dev_priv) > if (WARN_ON(!intel_gvt_host.initialized)) > return -EINVAL; > > - if (WARN_ON(gvt->initialized)) > + if

[Intel-gfx] [PATCH] drm/i915/gvt: clean up intel_gvt.h as interface for i915 core

2016-10-20 Thread Zhenyu Wang
i915 core should only call functions and structures exposed through intel_gvt.h. Remove internal gvt.h and i915_pvinfo.h. Change for internal intel_gvt structure as private handler which not requires to expose gvt internal structure for i915 core. Signed-off-by: Zhenyu Wang