]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Add some range asserts
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Aug 2019 15:57:25 +0000 (16:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Aug 2019 16:58:54 +0000 (17:58 +0100)
commitc71ccbe26376e81de6582c68c6783de488fe9e24
tree7543112ec2a58590908c42468f42e9a5da22b58e
parent1b9bd09630d4db4827cc04d358a41a16a6bc2cb0
drm/i915/gtt: Add some range asserts

These should have been validated in the upper layers, but for sanity's
sake, repeat them.

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/20190821155728.2839-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c