Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-10-01 Thread Ulf Hansson
On 1 October 2018 at 12:32, Vivek Gautam wrote: > On Mon, Oct 1, 2018 at 11:19 AM Vivek Gautam > wrote: >> >> HI Ulf, >> >> On Fri, Sep 28, 2018 at 5:30 PM Ulf Hansson wrote: >> > >> > On 30 August 2018 at 16:45, Vivek Gautam >> > wrote: >> > > From: Sricharan R >> > > >> > > The smmu needs

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-10-01 Thread Vivek Gautam
On Mon, Oct 1, 2018 at 11:19 AM Vivek Gautam wrote: > > HI Ulf, > > On Fri, Sep 28, 2018 at 5:30 PM Ulf Hansson wrote: > > > > On 30 August 2018 at 16:45, Vivek Gautam > > wrote: > > > From: Sricharan R > > > > > > The smmu needs to be functional only when the respective > > > master's using

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-10-01 Thread Vivek Gautam
On Mon, Oct 1, 2018 at 3:09 PM Ulf Hansson wrote: > > On 1 October 2018 at 07:49, Vivek Gautam wrote: > > HI Ulf, > > > > On Fri, Sep 28, 2018 at 5:30 PM Ulf Hansson wrote: > >> > >> On 30 August 2018 at 16:45, Vivek Gautam > >> wrote: > >> > From: Sricharan R > >> > > >> > The smmu needs to

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-10-01 Thread Ulf Hansson
On 1 October 2018 at 07:49, Vivek Gautam wrote: > HI Ulf, > > On Fri, Sep 28, 2018 at 5:30 PM Ulf Hansson wrote: >> >> On 30 August 2018 at 16:45, Vivek Gautam wrote: >> > From: Sricharan R >> > >> > The smmu needs to be functional only when the respective >> > master's using it are active.

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-09-30 Thread Vivek Gautam
HI Ulf, On Fri, Sep 28, 2018 at 5:30 PM Ulf Hansson wrote: > > On 30 August 2018 at 16:45, Vivek Gautam wrote: > > From: Sricharan R > > > > The smmu needs to be functional only when the respective > > master's using it are active. The device_link feature > > helps to track such functional

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-09-28 Thread Ulf Hansson
On 30 August 2018 at 16:45, Vivek Gautam wrote: > From: Sricharan R > > The smmu needs to be functional only when the respective > master's using it are active. The device_link feature > helps to track such functional dependencies, so that the > iommu gets powered when the master device enables

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-09-27 Thread Vivek Gautam
On Wed, Sep 26, 2018 at 8:57 PM Robin Murphy wrote: > > On 30/08/18 15:45, Vivek Gautam wrote: > > From: Sricharan R > > > > The smmu needs to be functional only when the respective > > master's using it are active. The device_link feature > > helps to track such functional dependencies, so that

Re: [Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-09-26 Thread Robin Murphy
On 30/08/18 15:45, Vivek Gautam wrote: From: Sricharan R The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so that the iommu gets powered when the master device enables itself using

[Freedreno] [PATCH v16 1/5] iommu/arm-smmu: Add pm_runtime/sleep ops

2018-08-30 Thread Vivek Gautam
From: Sricharan R The smmu needs to be functional only when the respective master's using it are active. The device_link feature helps to track such functional dependencies, so that the iommu gets powered when the master device enables itself using pm_runtime. So by adapting the smmu driver for