]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5f7f296e14035ecfc22bc32b6ab2318dfa92bc3
tree5d099527df9b62d0f4dcc4d029216d7569c7ac88
parentdaaa4ef2c55e45cea5aa65fc30221357cadb54d3
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