[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51B6C271.2090001@nvidia.com>
Date: Tue, 11 Jun 2013 09:23:45 +0300
From: Terje Bergström <tbergstrom@...dia.com>
To: Thierry Reding <thierry.reding@...il.com>
CC: Mayuresh Kulkarni <mkulkarni@...dia.com>,
Arto Merilainen <amerilainen@...dia.com>,
"airlied@...hat.com" <airlied@...hat.com>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/tegra: add support for runtime pm
On 10.06.2013 23:43, Thierry Reding wrote:
> Can you post the corresponding wrappers to make it easier to discuss
> them? If they just wrap runtime PM calls then they don't solve the
> locality problems that Terje brought up.
I don't think the wrappers are applicable here. They're there in
downstream to fix a problem with runtime PM core: some host1x clients
require host1x to be active when they're processing, and some (dc) need
it only when CPU is programming DC or when a signal towards host1x is
pending. Runtime PM wants to keep parent enabled when any of the clients
are enabled.
We solved this downstream by enabling ignore_children for host1x. As a
side effect, we need to explicitly enable host1x when we're enabling one
of its clients that need host1x, and that's what the wrapper does.
We can fix this particular problem by moving calls to runtime PM to job.c.
Mayuresh, once you've managed to test your patches, please send the v2.
Terje
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists