diff options
author | Xiaolin Zhang <[email protected]> | 2019-08-27 16:39:23 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2019-09-06 13:38:51 +0800 |
commit | 0a3242bdb47713e09cb004a0ba4947d3edf82d8a (patch) | |
tree | 189e100bf581f39ef8f3a9baa67a975508f3e8a7 /lib/string_helpers.c | |
parent | c36beba6b296b3c05a0f29753b04775e5ae23886 (diff) |
drm/i915/gvt: update vgpu workload head pointer correctly
when creating a vGPU workload, the guest context head pointer should
be updated correctly by comparing with the exsiting workload in the
guest worklod queue including the current running context.
in some situation, there is a running context A and then received 2 new
vGPU workload context B and A. in the new workload context A, it's head
pointer should be updated with the running context A's tail.
v2: walk through guest workload list in backward way.
Cc: [email protected]
Signed-off-by: Xiaolin Zhang <[email protected]>
Reviewed-by: Zhenyu Wang <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions