]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Change priority overflow detection
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 May 2020 06:31:13 +0000 (07:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 May 2020 14:28:26 +0000 (15:28 +0100)
commit0b4809004b45061a3325eba63667b07c512203b5
tree4e27bc8212c37eaf3541a431effa753011639e64
parent2fab23e2cc6a413f05ed65004d51fafd338d5b41
drm/i915/selftests: Change priority overflow detection

Check for integer overflow in the priority chain, rather than against a
type-constricted max-priority check.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200519063123.20673-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c