[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50D42486.7080901@nvidia.com>
Date: Fri, 21 Dec 2012 10:57:42 +0200
From: Arto Merilainen <amerilainen@...dia.com>
To: Stephen Warren <swarren@...dotorg.org>
CC: Terje Bergstrom <tbergstrom@...dia.com>,
Thierry Reding <thierry.reding@...onic-design.de>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x
On 12/20/2012 07:14 PM, Stephen Warren wrote:
>
> What's wrong with just having each device ask the host1x (its parent)
> for a pointer to the (dummy) tegradrm device. That seems extremely
>
We are talking about creating a dummy device because:
- we need to give something for drm_platform_init(),
- drm related data should be stored somewhere,
- some data must be passed to all driver probe() functions. This is not
hw-related data, but just some lists that are used to ensure that all
drivers have been initialised before calling drm_platform_init().
All these issues are purely tegra-drm related and solving them elsewhere
(in host1x) would be just wrong! host1x would not even use the dummy
device for anything so creating it there seems bizarre.
- Arto
--
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