]> 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)
commitabf1e810372bea7e812155e8a531f09ccb8c4b01
tree7543112ec2a58590908c42468f42e9a5da22b58e
parent8b440256b8814cb014d441de561840f9f559b7f7
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