summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-05 16:49:03 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-09 11:10:43 +0800
commit440a9b9fae37dfd7e4c7d76db34fada57f9afd92 (patch)
tree7679b1dd789545fe8ab5c33e68bc0014bc43c3fc /include
parent2e51ef32b0d66fcd5fe45c437cf7c6aef8350746 (diff)
drm/i915/gvt: dec vgpu->running_workload_num after the workload is really done
The vgpu->running_workload_num is used to determine whether a vgpu has any workload running or not. So we should make sure the workload is really done before we dec running_workload_num. Function complete_current_workload is not the right place to do it, since this function is still processing the workload. This patch move the dec op afterward. v2: move dec op before wake_up(&scheduler->workload_complete_wq) (Min He) Signed-off-by: Changbin Du <changbin.du@intel.com> Reviewed-by: Min He <min.he@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions