Commit e95ffe3b authored by Gurchetan Singh's avatar Gurchetan Singh Committed by Chromeos LUCI
Browse files

UPSTREAM: drm/virtio: implement context init: allocate an array of fence contexts



We don't want fences from different 3D contexts (virgl, gfxstream,
venus) to be on the same timeline.  With explicit context creation,
we can specify the number of ring each context wants.

Execbuffer can specify which ring to use.

Signed-off-by: default avatarGurchetan Singh <gurchetansingh@chromium.org>
Acked-by: default avatarLingfeng Yang <lfy@google.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210921232024.817-10-gurchetansingh@chromium.org


Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 85c83ea9)

BUG=b:176158390, b:203009046, b:230100768
TEST=gfxbench and deqp-cts in arcvm

Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Change-Id: Iccc0835f2a6af312da439a0a407810aeb2f2b2c1
Disallow-Recycled-Builds: test-failures
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3469488


Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Reviewed-by: default avatarChia-I Wu <olv@google.com>
Reviewed-by: default avatarRyan Neph <ryanneph@google.com>
parent 43a5b23d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment