]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop expectations of VM_IO from our GGTT mmappings
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 7 Aug 2019 09:41:28 +0000 (10:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 7 Aug 2019 11:06:07 +0000 (12:06 +0100)
commit483e5a7985c8aae7dbe8caf392666338c7e7bf25
tree14a0368b3aefa71b398749bf7493c3d882600d1c
parentef34407eb05591fb74416fc85ba9028938de9aae
drm/i915: Drop expectations of VM_IO from our GGTT mmappings

We don't really want to use VM_IO for our GGTT mmaps (it implies that
the mmap contains memory mapped registers, which we do not expose) yet I
overzealously added it to an assert just because that's how we always
had setup the vma.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190807094128.9993-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_mm.c