drm/i915: remove unused IO_TLB_SEGPAGES which should be defined by swiotlb
authorDongli Zhang <dongli.zhang@oracle.com>
Tue, 21 May 2019 04:40:39 +0000 (12:40 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 May 2019 21:18:24 +0000 (22:18 +0100)
commitb3ca0d44917c12f581cfdae52f9d6efdbfda5fe6
tree185d82786775744faf00e1ed3b6d57c593a31c1f
parenteaf20e6933dc1108eb56f6059ea89b6af5150082
drm/i915: remove unused IO_TLB_SEGPAGES which should be defined by swiotlb

This patch removes IO_TLB_SEGPAGES which is no longer used since
commit 5584f1b1d73e ("drm/i915: fix i915 running as dom0 under Xen").

As the define of both IO_TLB_SEGSIZE and IO_TLB_SHIFT are from swiotlb,
IO_TLB_SEGPAGES should be defined on swiotlb side if it is required in the
future.

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1558413639-22568-1-git-send-email-dongli.zhang@oracle.com
drivers/gpu/drm/i915/i915_gem_internal.c