diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 10:15:23 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 12:08:23 +0100 |
commit | dc366364c4ef809dccd063919314301f8ba01ac2 (patch) | |
tree | 08090face26346c75e35b37d53d175d7c95ff9b4 /drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | |
parent | ef86cfee7d74baf2e3b883871087a684acecb595 (diff) |
drm/vmwgfx: Fix multiple command buffer context use
The start / stop and preempt commands don't honor the context argument
but rather acts on all available contexts.
Also add detection for context 1 availability.
Note that currently there's no driver interface for submitting buffers
using the high-priority command queue (context 1).
Testing done:
Change the default context for command submission to 1 instead of 0,
verify basic desktop functionality including faulty command injection and
recovery.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_resource.c')
0 files changed, 0 insertions, 0 deletions