diff options
author | 2016-11-16 22:05:04 +0800 | |
---|---|---|
committer | 2016-11-17 07:56:58 +0000 | |
commit | d7ab992c68c9a015d09e529db96ddad6aea61c9d (patch) | |
tree | 9b88ed08a68f5630979cdc5f5ca7bc1b280eb8ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/execlists: Use a local lock for dfs_link access (diff) | |
download | linux-dev-d7ab992c68c9a015d09e529db96ddad6aea61c9d.tar.xz linux-dev-d7ab992c68c9a015d09e529db96ddad6aea61c9d.zip |
drm/i915: fix the dequeue logic for single_port_submission context
For a single_port_submission context, GVT expects that it can only be
submitted to port 0, and there shouldn't be any other context in port 1
at the same time. This is required by GVT-g context to have an opportunity
to save/restore some non-hw context render registers.
This patch is to workaround GVT-g.
v2: optimized code by following Chris's advice, and added more comments to
explain the patch.
v3: followed the coding style.
Signed-off-by: Min He <min.he@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1479305104-17049-1-git-send-email-min.he@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions