drm/panfrost: Update io-pgtable API
authorRobin Murphy <robin.murphy@arm.com>
Mon, 22 Aug 2022 22:01:27 +0000 (23:01 +0100)
committerSteven Price <steven.price@arm.com>
Thu, 1 Sep 2022 10:18:57 +0000 (11:18 +0100)
commit3740b081795a2e03a75a1b7573291e10378bd892
tree5d099527df9b62d0f4dcc4d029216d7569c7ac88
parente6545831a17beaa724f29e79d8a12050b45da243
drm/panfrost: Update io-pgtable API

Convert to io-pgtable's bulk {map,unmap}_pages() APIs, to help the old
single-page interfaces eventually go away. Unmapping heap BOs still
wants to be done a page at a time, but everything else can get the full
benefit of the more efficient interface.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/daef7f8c134d989c55636a5790d8c0fcaca1bae3.1661205687.git.robin.murphy@arm.com
drivers/gpu/drm/panfrost/panfrost_mmu.c