RFC GVT device model split
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest2 patches 2 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/i915: Export current required functions for GVTdrivers/ drivers/ drivers/ +7 more | +28 | 1 reply | |
| 2/2 | drm/i915: Move GVT device model into separate moduledrivers/ drivers/ drivers/ +9 more | +1547 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/2] GVT device model split
Refresh previous attempt to split GVT module.
This trys to move GVT device model in stand alone module. New module named as "i915_gvt" is created. The purpose is to enable GVT function once user loads i915_gvt module.
This needs to export several i915 functions currently used by GVT as in first patch. As GVT requires HW initial MMIO state for vGPU as base initial state after create, which needs to be got from early stage of i915 load, this trys to read all GVT tracked registers when i915 init, and provide for i915_gvt module when host init.
I think we would refactor "kvmgt" module init first. "kvmgt" should register into GVT as hypervisor interface provider, instead of making GVT to load it for now. But that still won't split GVT from i915. So this work takes further to split GVT device model from i915.
Thanks
Zhenyu Wang (2):
drm/i915: Export current required functions for GVT drm/i915: Move GVT device model into separate module
drivers/gpu/drm/i915/Kconfig | 2 +- drivers/gpu/drm/i915/Makefile | 4 +- drivers/gpu/drm/i915/gvt/Makefile | 8 +- drivers/gpu/drm/i915/gvt/firmware.c | 2 +- drivers/gpu/drm/i915/gvt/gvt.c | 52 +- drivers/gpu/drm/i915/gvt/gvt.h | 3 + drivers/gpu/drm/i915/i915_drv.c | 43 +- drivers/gpu/drm/i915/i915_drv.h | 10 +- drivers/gpu/drm/i915/i915_gem.c | 11 + drivers/gpu/drm/i915/i915_gem_context.c | 2 + drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 + drivers/gpu/drm/i915/i915_gem_fence_reg.c | 2 + drivers/gpu/drm/i915/i915_gem_gtt.c | 1 + drivers/gpu/drm/i915/i915_params.c | 5 - drivers/gpu/drm/i915/i915_params.h | 3 +- drivers/gpu/drm/i915/i915_request.c | 3 + drivers/gpu/drm/i915/i915_vma.c | 2 + drivers/gpu/drm/i915/intel_gvt.c | 1519 ++++++++++++++++++++- drivers/gpu/drm/i915/intel_gvt.h | 29 +- drivers/gpu/drm/i915/intel_ringbuffer.c | 1 + drivers/gpu/drm/i915/intel_runtime_pm.c | 2 + drivers/gpu/drm/i915/intel_uncore.c | 3 + 22 files changed, 1575 insertions(+), 133 deletions(-)
Signature · 6 lines
2.19.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx