summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/scheduler.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-05-04 18:36:54 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-06-08 13:59:14 +0800
commit5d0f5de16ef3d127469aa09dcdf07bec5174937f (patch)
treecec02cf59baf5281b009af5e78bd827552dec430 /drivers/gpu/drm/i915/gvt/scheduler.c
parentffc197763e636b928963c5dd9a3eaea8146345e3 (diff)
downloadlwn-5d0f5de16ef3d127469aa09dcdf07bec5174937f.tar.gz
lwn-5d0f5de16ef3d127469aa09dcdf07bec5174937f.zip
drm/i915/gvt: refactor function intel_vgpu_submit_execlist
The function intel_vgpu_submit_execlist could be more simpler. It actually does: 1) validate the submission. The first context must be valid, and all two must be privilege_access. 2) submit valid contexts. The first one need emulate schedule_in. We do not need a bitmap, valid desc copy valid_desc. Local variable emulate_schedule_in also can be optimized out. v2: dump desc content in err msg (Zhi Wang) Signed-off-by: Changbin Du <changbin.du@intel.com> Reviewed-by: Zhi Wang <zhi.a.wang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.c')
0 files changed, 0 insertions, 0 deletions