Zhenyu Wang feddf6e866 drm/i915/gvt: clean up intel_gvt.h as interface for i915 core
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.

v2: Fix per Chris's comment
- carefully handle dev_priv->gvt assignment
- add necessary bracket for macro helper
- forward declartion struct intel_gvt
- keep free operation within same file handling alloc

v3: fix use after free and remove intel_gvt.initialized

v4: change to_gvt() to an inline

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2016-10-20 17:18:30 +08:00
..
2016-10-14 18:15:25 +08:00
2016-10-14 18:15:25 +08:00
2016-10-14 18:15:25 +08:00
2016-10-14 18:12:59 +08:00
2016-10-14 18:14:37 +08:00
2016-10-14 18:15:13 +08:00
2016-10-14 18:15:25 +08:00
2016-10-14 18:12:11 +08:00
2016-10-14 18:15:25 +08:00