aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/cmd_parser.h
AgeCommit message (Collapse)AuthorFilesLines
2019-11-08drm/i915: make more headers self-containedMasahiro Yamada1-0/+4
The headers in the gem/selftests/, gt/selftests, gvt/, selftests/ directories have never been compile-tested, but it would be possible to make them self-contained. This commit only addresses missing <linux/types.h> and forward struct declarations. Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-08-10drm/i915/gvt: Factor out scan and shadow from workload dispatchPing Gao1-1/+1
To perform the workload scan and shadow in ELSP writing stage for performance consideration, the workload scan and shadow stuffs should be factored out from dispatch_workload(). v2:Put context pin before i915_add_request; Refine the comments; Rename some APIs; v3:workload->status should set only when error happens. v4:i915_add_request is must to have after i915_gem_request_alloc. Signed-off-by: Ping Gao <[email protected]> Reviewed-by: Zhi Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
2016-10-14drm/i915/gvt: vGPU command scannerZhi Wang1-0/+49
This patch introduces a command scanner to scan guest command buffers. Signed-off-by: Yulei Zhang <[email protected]> Signed-off-by: Zhi Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>