diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-09 14:48:52 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-04-09 18:13:10 +0100 |
commit | 6c1426f61d6b4e6454a1c5fca88bbda597878018 (patch) | |
tree | 72006aa839746c9ce6846a961ac7c619edb956a0 /tests/kms_plane_scaling.c | |
parent | 9f9d38d66ab43234515b2cab6756df269f41f707 (diff) |
i915/gem_exec_schedule: Trick semaphores into a GPU hang
If we have two tasks running on xcs0 and xcs1 independently, but who
queue subsequent work onto rcs, we may insert semaphores before the rcs
work and pick unwisely which task to run first. To maximise throughput,
we want to run on rcs whichever task is ready first. Conversely, if we
pick wrongly that can be used to trigger a GPU hang with unaware
userspace.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/kms_plane_scaling.c')
0 files changed, 0 insertions, 0 deletions