From: Kevin Hilman <khilman@deeprootsystems.com>
To: Manjunatha GK <manjugk@ti.com>
Cc: linux-omap@vger.kernel.org,
Preshit Agarwal <preshit.agarwal@ti.com>,
Tony Lindgren <tony@atomide.com>,
Mike Turquette <mturquette@ti.com>, Hemanth V <hemanthv@ti.com>
Subject: Re: [PATCH v4] OMAP3: Registering sgx device and it's platform data
Date: Fri, 14 May 2010 09:40:13 -0700 [thread overview]
Message-ID: <87vdaqmo7m.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1273727200-4811-1-git-send-email-manjugk@ti.com> (Manjunatha GK's message of "Thu\, 13 May 2010 10\:36\:40 +0530")
Manjunatha GK <manjugk@ti.com> writes:
> The SGX powervr_device is registered with it's platform specific
> data to provide information about setting constraint through
> omap_pm_set_min_bus_tput.
Now the patch content doesn't match the description as you no
longer call omap_pm_set_min_bus_tput()...
> Signed-off-by: Preshit Agarwal <preshit.agarwal@ti.com>
> Signed-off-by: Manjunatha GK <manjugk@ti.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Kevin Hilman <khilman@deeprootsystems.com>
> Cc: Mike Turquette <mturquette@ti.com>
> Cc: Hemanth V <hemanthv@ti.com>
> ---
> arch/arm/mach-omap2/devices.c | 21 +++++++++++++++++++--
> arch/arm/mach-omap2/include/mach/omap_sgxdef.h | 11 +++++++++++
> 2 files changed, 30 insertions(+), 2 deletions(-)
> create mode 100644 arch/arm/mach-omap2/include/mach/omap_sgxdef.h
>
> diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
> index 2271b9b..6349ee5 100644
> --- a/arch/arm/mach-omap2/devices.c
> +++ b/arch/arm/mach-omap2/devices.c
> @@ -26,7 +26,7 @@
> #include <plat/mux.h>
> #include <mach/gpio.h>
> #include <plat/mmc.h>
> -
> +#include <mach/omap_sgxdef.h>
> #include "mux.h"
>
> #if defined(CONFIG_VIDEO_OMAP2) || defined(CONFIG_VIDEO_OMAP2_MODULE)
> @@ -786,6 +786,23 @@ static inline void omap_hdq_init(void)
> static inline void omap_hdq_init(void) {}
> #endif
>
> +struct sgx_platform_data omap_sgx_data = {
> + .set_min_bus_tput = NULL,
> +};
When I suggested you remove the #ifdef CONFIG_PM, I was expecting
you to leave the omap_pm_set_min_bus_tput() part.
The point was that the driver itself should choose whether or not to call
pdata->set_min_bus_tput() using #ifdef or other runtime decisions.
Kevin
next prev parent reply other threads:[~2010-05-14 16:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-13 5:06 [PATCH v4] OMAP3: Registering sgx device and it's platform data Manjunatha GK
2010-05-13 15:32 ` Nishanth Menon
2010-05-20 14:02 ` G, Manjunath Kondaiah
2010-05-14 16:40 ` Kevin Hilman [this message]
2010-05-20 14:20 ` G, Manjunath Kondaiah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vdaqmo7m.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=hemanthv@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=manjugk@ti.com \
--cc=mturquette@ti.com \
--cc=preshit.agarwal@ti.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.