RE: [PATCH 1/1] [tegra] Make syncpt routines accessible by drivers

From: Andrew Chew
Date: Mon Feb 14 2011 - 20:52:31 EST


> > You're right about that global nvhost_syncpt pointer.  That
> drives me nuts as well.  Nevertheless, I'm not sure I'm
> knowledgeable enough to do the required work to do this the
> "right" way.  As far as I know, nvhost is a guaranteed
> singleton in practice (not in implementation), so while this
> is ugly, it will work fine for existing projects.
>
> If you feel uncomfortable making this change, I recommend you include
> the private header file the way the dc does.

Okay, I'll do it this way then.--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/