search for: drm_dev_set_unique

Displaying 10 results from an estimated 10 matches for "drm_dev_set_unique".

2014 Jul 18
22
[Bug 81485] New: dmesg spam on startup
https://bugs.freedesktop.org/show_bug.cgi?id=81485 Priority: medium Bug ID: 81485 Assignee: nouveau at lists.freedesktop.org Summary: dmesg spam on startup QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: All Reporter: fry.kun at gmail.com Hardware: Other
2014 Jul 02
0
[PATCH v3 0/3] drm/nouveau: support for probing platform devices
...* 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...
2014 Jun 26
6
[PATCH v3 0/3] drm/nouveau: support for probing platform devices
.... 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. Alexandre Courbot (2): drm/nouveau: support for probing platform devices...
2014 Jun 13
3
[PATCH v2 0/3] drm/nouveau: support for probing platform devices
.... 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. Alexandre Courbot (2): drm/nouveau: support for probing platform devices...
2014 Jun 26
0
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...ret) { - nouveau_object_ref(NULL, (struct nouveau_object **)&device); - return ret; + nouveau_debug, size, pobject); + if (err) + return ERR_PTR(err); + + drm = drm_dev_alloc(&driver, &pdev->dev); + if (!drm) { + err = -ENOMEM; + goto err_free; } - return ret; + err = drm_dev_set_unique(drm, "%s", dev_name(&pdev->dev)); + if (err < 0) + goto err_free; + + drm->platformdev = pdev; + platform_set_drvdata(pdev, drm); + + return drm; + +err_free: + nouveau_object_ref(NULL, (struct nouveau_object **)pobject); + + return ERR_PTR(err); } +EXPORT_SYMBOL(nouveau_pl...
2017 Nov 24
8
[PATCH 00/13] remove_conflicting_framebuffers() cleanup
This series cleans up duplicated code for replacing firmware FB driver with proper DRI driver and adds handover support to Tegra driver. The last patch is here because it uses new semantics of remove_conflicting_framebuffers() from this series. This can be considered independently, though. --- Micha? Miros?aw (13): fbdev: show fbdev number for debugging fbdev: add
2017 Nov 24
8
[PATCH 00/13] remove_conflicting_framebuffers() cleanup
This series cleans up duplicated code for replacing firmware FB driver with proper DRI driver and adds handover support to Tegra driver. The last patch is here because it uses new semantics of remove_conflicting_framebuffers() from this series. This can be considered independently, though. --- Micha? Miros?aw (13): fbdev: show fbdev number for debugging fbdev: add
2014 Jun 26
2
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...evice); > - return ret; > + nouveau_debug, size, pobject); > + if (err) > + return ERR_PTR(err); > + > + drm = drm_dev_alloc(&driver, &pdev->dev); > + if (!drm) { > + err = -ENOMEM; > + goto err_free; > } > > - return ret; > + err = drm_dev_set_unique(drm, "%s", dev_name(&pdev->dev)); > + if (err < 0) > + goto err_free; > + > + drm->platformdev = pdev; > + platform_set_drvdata(pdev, drm); > + > + return drm; > + > +err_free: > + nouveau_object_ref(NULL, (struct nouveau_object **)pobject); &gt...
2018 Sep 01
17
[PATCH v3 00/13] remove_conflicting_framebuffers() cleanup
This series cleans up duplicated code for replacing firmware FB driver with proper DRI driver and adds handover support to Tegra driver. This is a sligtly updated version of a series sent on 24 Nov 2017. --- v2: - rebased on current drm-next - dropped staging/sm750fb changes - added kernel docs for DRM helpers v3: - move kerneldoc to fbdev, where functions are implemented - split kerneldoc
2018 Sep 01
17
[PATCH v3 00/13] remove_conflicting_framebuffers() cleanup
This series cleans up duplicated code for replacing firmware FB driver with proper DRI driver and adds handover support to Tegra driver. This is a sligtly updated version of a series sent on 24 Nov 2017. --- v2: - rebased on current drm-next - dropped staging/sm750fb changes - added kernel docs for DRM helpers v3: - move kerneldoc to fbdev, where functions are implemented - split kerneldoc