• Zhi Wang's avatar
    drm/i915/gvt: Refine shadow batch buffer · f52c380a
    Zhi Wang authored
    1) Use standard i915 GEM object sequence to access the shadow batch buffer.
    2) Manage i915 vma life cycle to solve one FIXME.
    
    v2:
    - Refine code structure.
    - Refine the usage of GEM APIs.
    - Add the missing lock/unlock in release_shadow_batch_buffer.
    
    Test on my SKL NuC.
    Signed-off-by: default avatarZhi Wang <zhi.a.wang@intel.com>
    f52c380a
scheduler.c 35.1 KB