Re: [PATCH v2 2/4] gpu: host1x: add runtime pm support for gr2d

2013-06-15 Thread Mayuresh Kulkarni
On Thursday 13 June 2013 08:44 PM, Stephen Warren wrote: On 06/13/2013 03:53 AM, Mayuresh Kulkarni wrote: Patch description? I thought the patch subject is sufficient to tell what it is it doing. Description here would be repetition in my opinion. Also, the cover letter for the patch-set

Re: [PATCH v2 3/4] gpu: host1x: add runtime pm support for dc

2013-06-15 Thread Mayuresh Kulkarni
On Friday 14 June 2013 12:39 AM, Stephen Warren wrote: On 06/13/2013 12:49 PM, Thierry Reding wrote: On Thu, Jun 13, 2013 at 03:23:37PM +0530, Mayuresh Kulkarni wrote: [...] diff --git a/drivers/gpu/host1x/drm/dc.c b/drivers/gpu/host1x/drm/dc.c [...] @@ -1128,9 +1129,7 @@ static int

[PATCH v2 3/4] gpu: host1x: add runtime pm support for dc

2013-06-14 Thread Mayuresh Kulkarni
On Friday 14 June 2013 12:39 AM, Stephen Warren wrote: > On 06/13/2013 12:49 PM, Thierry Reding wrote: >> On Thu, Jun 13, 2013 at 03:23:37PM +0530, Mayuresh Kulkarni wrote: >> [...] >>> diff --git a/drivers/gpu/host1x/drm/dc.c >>> b/drivers/gpu/host1x/drm/dc.

[PATCH v2 2/4] gpu: host1x: add runtime pm support for gr2d

2013-06-14 Thread Mayuresh Kulkarni
On Thursday 13 June 2013 08:44 PM, Stephen Warren wrote: > On 06/13/2013 03:53 AM, Mayuresh Kulkarni wrote: > > Patch description? I thought the patch subject is sufficient to tell what it is it doing. Description here would be repetition in my opinion. Also, the cover letter for the

[PATCH v2 4/4] gpu: host1x: add runtime pm support for host1x

2013-06-13 Thread Mayuresh Kulkarni
Signed-off-by: Mayuresh Kulkarni --- drivers/gpu/host1x/dev.c | 57 1 file changed, 57 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 28e28a2..b43eb29 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu

[PATCH v2 3/4] gpu: host1x: add runtime pm support for dc

2013-06-13 Thread Mayuresh Kulkarni
As of now, the dc clock is enabled in its .probe via runtime pm and disabled in .remove Signed-off-by: Mayuresh Kulkarni --- drivers/gpu/host1x/drm/dc.c | 60 + 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/host1x/drm/dc.c

[PATCH v2 2/4] gpu: host1x: add runtime pm support for gr2d

2013-06-13 Thread Mayuresh Kulkarni
Signed-off-by: Mayuresh Kulkarni --- drivers/gpu/host1x/drm/gr2d.c | 56 ++- drivers/gpu/host1x/job.c | 9 +++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/drm/gr2d.c b/drivers/gpu/host1x/drm/gr2d.c index

[PATCH v2 1/4] gpu: host1x: shuffle job APIs

2013-06-13 Thread Mayuresh Kulkarni
way the runtime PM calls are localized to single file & easy to maintain as well as debug Signed-off-by: Mayuresh Kulkarni --- drivers/gpu/host1x/cdma.c| 2 ++ drivers/gpu/host1x/channel.c | 8 drivers/gpu/host1x/channel.h | 1 - drivers/gpu/host1x/job.c | 12 dri

[PATCH v2 0/4] gpu: host1x: add runtime pm support

2013-06-13 Thread Mayuresh Kulkarni
runtime pm instead of direct clock APIs. Mayuresh Kulkarni (4): gpu: host1x: shuffle job APIs gpu: host1x: add runtime pm support for gr2d gpu: host1x: add runtime pm support for dc gpu: host1x: add runtime pm support for host1x drivers/gpu/host1x/cdma.c | 2 ++ drivers/gpu/host

[PATCH v2 0/4] gpu: host1x: add runtime pm support

2013-06-13 Thread Mayuresh Kulkarni
clock APIs. Mayuresh Kulkarni (4): gpu: host1x: shuffle job APIs gpu: host1x: add runtime pm support for gr2d gpu: host1x: add runtime pm support for dc gpu: host1x: add runtime pm support for host1x drivers/gpu/host1x/cdma.c | 2 ++ drivers/gpu/host1x/channel.c | 8 -- drivers

[PATCH v2 1/4] gpu: host1x: shuffle job APIs

2013-06-13 Thread Mayuresh Kulkarni
the runtime PM calls are localized to single file easy to maintain as well as debug Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/cdma.c| 2 ++ drivers/gpu/host1x/channel.c | 8 drivers/gpu/host1x/channel.h | 1 - drivers/gpu/host1x/job.c | 12

[PATCH v2 2/4] gpu: host1x: add runtime pm support for gr2d

2013-06-13 Thread Mayuresh Kulkarni
Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/drm/gr2d.c | 56 ++- drivers/gpu/host1x/job.c | 9 +++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/drm/gr2d.c b/drivers/gpu/host1x

[PATCH v2 3/4] gpu: host1x: add runtime pm support for dc

2013-06-13 Thread Mayuresh Kulkarni
As of now, the dc clock is enabled in its .probe via runtime pm and disabled in .remove Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/drm/dc.c | 60 + 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v2 4/4] gpu: host1x: add runtime pm support for host1x

2013-06-13 Thread Mayuresh Kulkarni
Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/dev.c | 57 1 file changed, 57 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 28e28a2..b43eb29 100644 --- a/drivers/gpu/host1x/dev.c

[PATCH] drm/tegra: add support for runtime pm

2013-06-04 Thread Mayuresh Kulkarni
On Tuesday 28 May 2013 02:40 PM, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Tue, May 28, 2013 at 08:45:03AM +0300, Terje Bergstr?m wrote: >> On 27.05.2013 18:45, Thierry Reding wrote: >>> On Mon, May 27, 2013 at 07:19:28PM +0530, Mayuresh Kulk

Re: [PATCH] drm/tegra: add support for runtime pm

2013-06-04 Thread Mayuresh Kulkarni
On Tuesday 28 May 2013 02:40 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, May 28, 2013 at 08:45:03AM +0300, Terje Bergström wrote: On 27.05.2013 18:45, Thierry Reding wrote: On Mon, May 27, 2013 at 07:19:28PM +0530, Mayuresh Kulkarni wrote: +#ifdef CONFIG_PM_RUNTIME

[PATCH] drm/tegra: add support for runtime pm

2013-05-27 Thread Mayuresh Kulkarni
and disabled when submit completes - parent->child relation between host1x and gr2d ensures that host1x clock is also enabled before enabling gr2d clock and it is turned off after gr2d clock is turned off Signed-off-by: Mayuresh Kulkarni --- drivers/gpu/host1x/channel.c | 5 drivers/

[PATCH] drm/tegra: add support for runtime pm

2013-05-27 Thread Mayuresh Kulkarni
and disabled when submit completes - parent-child relation between host1x and gr2d ensures that host1x clock is also enabled before enabling gr2d clock and it is turned off after gr2d clock is turned off Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/channel.c | 5