[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVeFu+O+Z7kQ3Sre=WKkcYoxXYUx4zCzZK8cVMj1WAtwA5eMg@mail.gmail.com>
Date: Wed, 2 Jul 2014 18:09:03 +0900
From: Alexandre Courbot <gnurou@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Stephen Warren <swarren@...dotorg.org>
Cc: Ben Skeggs <bskeggs@...hat.com>,
Alexandre Courbot <acourbot@...dia.com>,
"nouveau@...ts.freedesktop.org" <nouveau@...ts.freedesktop.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 0/3] drm/nouveau: support for probing platform devices
On Thu, Jun 26, 2014 at 2:33 PM, Alexandre Courbot <acourbot@...dia.com> wrote:
> This series adds support for probing platform devices on Nouveau, as well as
> the DT bindings for GK20A. It doesn't enable the GPU yet on Tegra boards since
> a few extra things need to be supported before that.
>
> This version is mostly identical to v2 but fixes an important issue: the drvdata
> must be set to the drm_device for sysfs to work, so the platform device
> structure now includes the nouveau_device flattened into it to let us compute
> the address of one from the other. Since the platform device resources (clocks,
> regulators, ...) need to live longer than the nouveau_device, they are stored
> into their own structure which is allocated separately.
>
> Changes since v2:
> * Allocate the nouveau_device flattened into the nouveau_platform_device to
> be able to compute one from another easily, without having to ressort on the
> drvdata which is required to store the drm_device.
> * Only propose the platform driver if a supported arch (Tegra for now) is
> enabled.
> * Move structure definitions into their own header file as some subdevs (e.g.
> clocks) will need to use them.
>
> Changes since v1:
> * Moved the platform device driver to its own module. This allows it to be more
> self-contained and saves us the need to export too many functions from
> nouveau_drm and nouveau_platform.
> * Register the DRM device without using the platform helpers, which is made
> possible by drm_dev_set_unique(). This allows us to catch and register the
> DRM device during platform probe.
> * Fixed the clock names in the DT bindings.
> * Removed the patches enabling GK20A on Venice2 and Jetson TK1 as support
> is not complete yet.
Stephen, Thierry,
Ben has merged the first patch of this series into the Nouveau tree.
Could you get patches 2 and 3 through the Tegra tree? Thanks!
--
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