Displaying 16 results from an estimated 16 matches for "nouveau_drm_platform_probe".
2014 Jun 26
2
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...nly compiled for these platforms if Nouveau is
>>> enabled.
>>>
>>> Nouveau will probe the chip type itself using the BOOT0 register, so all
>>> this driver really needs to do is to make sure the module is powered and
>>> its clocks active before calling nouveau_drm_platform_probe().
>>>
>>> Heavily based on work done by Thierry Reding.
>>>
>>> Signed-off-by: Thierry Reding <treding at nvidia.com>
>>> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
>>> ---
>>> drivers/gpu/drm/nouveau/Kcon...
2014 Feb 01
0
[RFC 03/16] drm/nouveau: add platform device probing function
Add a nouveau_drm_platform_probe() function that probes a Nouveau
platform device and registers it using drm_platform_init().
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
---
drivers/gpu/drm/nouveau/core/engine/device/base.c | 34 ++++++++++++++++++++++
.../gpu/drm/nouveau/core/include/engine/device.h | 10...
2014 Jun 26
2
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...s GK20A on Tegra
> platforms and is only compiled for these platforms if Nouveau is
> enabled.
>
> Nouveau will probe the chip type itself using the BOOT0 register, so all
> this driver really needs to do is to make sure the module is powered and
> its clocks active before calling nouveau_drm_platform_probe().
>
> Heavily based on work done by Thierry Reding.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
> ---
> drivers/gpu/drm/nouveau/Kconfig | 8 ++
> drivers/gpu/drm/nouveau/Ma...
2014 Jun 26
0
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...This driver currently supports GK20A on Tegra
platforms and is only compiled for these platforms if Nouveau is
enabled.
Nouveau will probe the chip type itself using the BOOT0 register, so all
this driver really needs to do is to make sure the module is powered and
its clocks active before calling nouveau_drm_platform_probe().
Heavily based on work done by Thierry Reding.
Signed-off-by: Thierry Reding <treding at nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
---
drivers/gpu/drm/nouveau/Kconfig | 8 ++
drivers/gpu/drm/nouveau/Makefile | 3 +
drivers/gpu/dr...
2014 Jun 26
0
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...; platforms and is only compiled for these platforms if Nouveau is
>> enabled.
>>
>> Nouveau will probe the chip type itself using the BOOT0 register, so all
>> this driver really needs to do is to make sure the module is powered and
>> its clocks active before calling nouveau_drm_platform_probe().
>>
>> Heavily based on work done by Thierry Reding.
>>
>> Signed-off-by: Thierry Reding <treding at nvidia.com>
>> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
>> ---
>> drivers/gpu/drm/nouveau/Kconfig | 8 ++
>&...
2014 Jun 26
0
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...se platforms if Nouveau is
>>>> enabled.
>>>>
>>>> Nouveau will probe the chip type itself using the BOOT0 register, so all
>>>> this driver really needs to do is to make sure the module is powered and
>>>> its clocks active before calling nouveau_drm_platform_probe().
>>>>
>>>> Heavily based on work done by Thierry Reding.
>>>>
>>>> Signed-off-by: Thierry Reding <treding at nvidia.com>
>>>> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
>>>> ---
>>>>...
2014 Jun 26
6
[PATCH v3 0/3] drm/nouveau: support for probing platform devices
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
2014 Jun 13
3
[PATCH v2 0/3] drm/nouveau: support for probing platform devices
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.
Thanks to the input received for v1, this version is more self-contained and
shares less stuff between nouveau_drm and nouveau_platform. The major change
is that nouveau_platform is now
2014 Feb 13
0
[PATCH v2] drm/nouveau: support for platform devices
...andle platform devices by:
>>
>> - abstracting PCI-dependent functions that were typically used for
>> resource querying and page mapping,
>> - introducing a nv_device_is_pci() function that allows to make
>> PCI-dependent code conditional,
>> - providing a nouveau_drm_platform_probe() function that takes a GPU
>> platform device to be probed.
>>
>> Core code as well as engine/subdev drivers are updated wherever possible
>> to make use of these functions. Some older drivers are too dependent on
>> PCI to be properly updated, but all newer code o...
2014 May 19
10
[PATCH 0/5] drm/nouveau: platform devices and GK20A probing
This patch series is the final (?) step towards the initial support of GK20A,
allowing it to be probed and used (currently at a very slow speed, and for
offscreen rendering only) on the Jetson TK1 and Venice 2 boards.
The main piece if the first patch which adds platform devices probing support
to Nouveau. There are probably lots of things that need to be discussed about
it, e.g.:
* The way the
2014 Feb 10
0
[PATCH] drm/nouveau: support for platform devices
...nouveau_bios_init() could also check internally and return 0 if the
device isn't a PCI device. One less conditional in this function.
> @@ -963,6 +991,25 @@ nouveau_drm_pci_driver = {
> .driver.pm = &nouveau_pm_ops,
> };
>
> +
This adds a spurious newline.
> +int nouveau_drm_platform_probe(struct platform_device *pdev)
> +{
> + struct nouveau_device *device;
> + int ret;
> +
> + ret = nouveau_device_platform_create(pdev, nouveau_platform_name(pdev),
> + dev_name(&pdev->dev), nouveau_config,
> + nouveau_debug, &device);
> +
> + ret =...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
...allows Nouveau
> to handle platform devices by:
>
> - abstracting PCI-dependent functions that were typically used for
> resource querying and page mapping,
> - introducing a nv_device_is_pci() function that allows to make
> PCI-dependent code conditional,
> - providing a nouveau_drm_platform_probe() function that takes a GPU
> platform device to be probed.
>
> Core code as well as engine/subdev drivers are updated wherever possible
> to make use of these functions. Some older drivers are too dependent on
> PCI to be properly updated, but all newer code on which future chips...
2014 Feb 11
2
[PATCH] drm/nouveau: support for platform devices
...> device isn't a PCI device. One less conditional in this function.
Agreed.
>
>> @@ -963,6 +991,25 @@ nouveau_drm_pci_driver = {
>> .driver.pm = &nouveau_pm_ops,
>> };
>>
>> +
>
> This adds a spurious newline.
Removed.
>
>> +int nouveau_drm_platform_probe(struct platform_device *pdev)
>> +{
>> + struct nouveau_device *device;
>> + int ret;
>> +
>> + ret = nouveau_device_platform_create(pdev, nouveau_platform_name(pdev),
>> + dev_name(&pdev->dev), nouveau_co...
2014 Feb 10
2
[PATCH] drm/nouveau: support for platform devices
...au is tightly dependent. This patch allows Nouveau
to handle platform devices by:
- abstracting PCI-dependent functions that were typically used for
resource querying and page mapping,
- introducing a nv_device_is_pci() function that allows to make
PCI-dependent code conditional,
- providing a nouveau_drm_platform_probe() function that takes a GPU
platform device to be probed.
Core code as well as engine/subdev drivers are updated wherever possible
to make use of these functions. Some older drivers are too dependent on
PCI to be properly updated, but all newer code on which future chips may
depend should now at...
2014 Feb 12
0
[PATCH v2] drm/nouveau: support for platform devices
...au is tightly dependent. This patch allows Nouveau
to handle platform devices by:
- abstracting PCI-dependent functions that were typically used for
resource querying and page mapping,
- introducing a nv_device_is_pci() function that allows to make
PCI-dependent code conditional,
- providing a nouveau_drm_platform_probe() function that takes a GPU
platform device to be probed.
Core code as well as engine/subdev drivers are updated wherever possible
to make use of these functions. Some older drivers are too dependent on
PCI to be properly updated, but all newer code on which future chips may
depend should at lea...
2014 Feb 01
28
[RFC 00/16] drm/nouveau: initial support for GK20A (Tegra K1)
Hello everyone,
GK20A is the Kepler-based GPU used in the upcoming Tegra K1 chips. The following
patches perform architectural changes to Nouveau that are necessary to support
non-PCI GPUs and add initial support for GK20A. Although the support is still
very basic and more user-space changes will be needed to make the full graphics
stack run on top of it, we were able to successfully open