Re: [Freedreno] [PATCH] iommu/arm-smmu: fix "hang" when games exit

2019-09-10 Thread Robin Murphy
On 07/09/2019 18:50, Rob Clark wrote: From: Rob Clark When games, browser, or anything using a lot of GPU buffers exits, there can be many hundreds or thousands of buffers to unmap and free. If the GPU is otherwise suspended, this can cause arm-smmu to resume/suspend for each buffer,

Re: [Freedreno] [PATCH] iommu/arm-smmu: fix "hang" when games exit

2019-09-10 Thread Rob Clark
On Tue, Sep 10, 2019 at 8:01 AM Robin Murphy wrote: > > On 07/09/2019 18:50, Rob Clark wrote: > > From: Rob Clark > > > > When games, browser, or anything using a lot of GPU buffers exits, there > > can be many hundreds or thousands of buffers to unmap and free. If the > > GPU is otherwise

Re: [Freedreno] [PATCH v3 0/2] iommu: handle drivers that manage iommu directly

2019-09-10 Thread Robin Murphy
On 06/09/2019 22:44, Rob Clark wrote: From: Rob Clark One of the challenges we have to enable the aarch64 laptops upstream is dealing with the fact that the bootloader enables the display and takes the corresponding SMMU context-bank out of BYPASS. Unfortunately, currently, the IOMMU

Re: [Freedreno] [PATCH v7 0/7] qcom: add OCMEM support

2019-09-10 Thread Gabriel Francisco
Tested-by: Gabriel Francisco On 9/1/19 11:40 PM, Brian Masney wrote: > Hi Rob C / Sean P, > > On Fri, Aug 23, 2019 at 05:16:30AM -0700, Brian Masney wrote: >> This patch series adds support for Qualcomm's On Chip MEMory (OCMEM) >> that is needed in order to support some a3xx and a4xx-based GPUs

Re: [Freedreno] [PATCH v7 0/7] qcom: add OCMEM support

2019-09-10 Thread Gabriel Francisco
Tested-by: Gabriel Francisco On 9/1/19 11:40 PM, Brian Masney wrote: > Hi Rob C / Sean P, > > On Fri, Aug 23, 2019 at 05:16:30AM -0700, Brian Masney wrote: >> This patch series adds support for Qualcomm's On Chip MEMory (OCMEM) >> that is needed in order to support some a3xx and a4xx-based GPUs

Re: [Freedreno] [PATCH v3 0/2] iommu: handle drivers that manage iommu directly

2019-09-10 Thread Rob Clark
On Tue, Sep 10, 2019 at 9:34 AM Robin Murphy wrote: > > On 06/09/2019 22:44, Rob Clark wrote: > > From: Rob Clark > > > > One of the challenges we have to enable the aarch64 laptops upstream > > is dealing with the fact that the bootloader enables the display and > > takes the corresponding SMMU