• Zhenyu Wang's avatar
    drm/i915/gvt: Fix workload status after wait · 9b172345
    Zhenyu Wang authored
    From commit e95433c7, workload status setting
    was changed to only capture on error path, but we need to set it properly in
    normal path too, otherwise we'll fail to complete workload which could lead
    guest VM vGPU reset.
    
    v2: uses braces and add Fixes tag.
    
    Fixes: e95433c7 ("drm/i915: Rearrange i915_wait_request() accounting with callers")
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
    9b172345
scheduler.c 15.4 KB