[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ff9a75d-7a59-a9c2-793c-2a2533eb269c@quicinc.com>
Date: Tue, 23 Aug 2022 22:23:06 +0530
From: Sai Prakash Ranjan <quic_saipraka@...cinc.com>
To: Rob Clark <robdclark@...il.com>, <dri-devel@...ts.freedesktop.org>
CC: <linux-arm-msm@...r.kernel.org>, <freedreno@...ts.freedesktop.org>,
"Rob Clark" <robdclark@...omium.org>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Sean Paul <sean@...rly.run>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] drm/msm/iommu: optimize map/unmap
On 8/23/2022 10:07 PM, Rob Clark wrote:
> From: Rob Clark <robdclark@...omium.org>
>
> Using map_pages/unmap_pages cuts down on the # of pgtable walks needed
> in the process of finding where to insert/remove an entry. The end
> result is ~5-10x faster than mapping a single page at a time.
>
> v2: Rename iommu_pgsize(), drop obsolete comments, fix error handling
> in msm_iommu_pagetable_map()
>
> Signed-off-by: Rob Clark <robdclark@...omium.org>
> ---
> drivers/gpu/drm/msm/msm_iommu.c | 101 +++++++++++++++++++++++++++-----
> 1 file changed, 86 insertions(+), 15 deletions(-)
Reviewed-by: Sai Prakash Ranjan <quic_saipraka@...cinc.com>
Thanks,
Sai
Powered by blists - more mailing lists