* [PATCH] drm: sti: use drm_platform_set_busid() helper
@ 2016-06-13 15:48 Benjamin Gaignard
2016-06-13 16:00 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Gaignard @ 2016-06-13 15:48 UTC (permalink / raw)
To: dri-devel; +Cc: vincent.abriou, fabien.dessenne
Fill set_busid field with drm_platform_set_busid helper function
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
---
drivers/gpu/drm/sti/sti_drv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c
index b440617..98d67b4 100644
--- a/drivers/gpu/drm/sti/sti_drv.c
+++ b/drivers/gpu/drm/sti/sti_drv.c
@@ -304,6 +304,7 @@ static struct drm_driver sti_driver = {
.driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET |
DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC,
.load = sti_load,
+ .set_busid = drm_platform_set_busid,
.gem_free_object_unlocked = drm_gem_cma_free_object,
.gem_vm_ops = &drm_gem_cma_vm_ops,
.dumb_create = drm_gem_cma_dumb_create,
--
1.9.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] drm: sti: use drm_platform_set_busid() helper
2016-06-13 15:48 [PATCH] drm: sti: use drm_platform_set_busid() helper Benjamin Gaignard
@ 2016-06-13 16:00 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2016-06-13 16:00 UTC (permalink / raw)
To: Benjamin Gaignard; +Cc: vincent.abriou, fabien.dessenne, dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 830 bytes --]
On Mon, Jun 13, 2016 at 05:48:15PM +0200, Benjamin Gaignard wrote:
> Fill set_busid field with drm_platform_set_busid helper function
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
> ---
> drivers/gpu/drm/sti/sti_drv.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c
> index b440617..98d67b4 100644
> --- a/drivers/gpu/drm/sti/sti_drv.c
> +++ b/drivers/gpu/drm/sti/sti_drv.c
> @@ -304,6 +304,7 @@ static struct drm_driver sti_driver = {
> .driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET |
> DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC,
> .load = sti_load,
> + .set_busid = drm_platform_set_busid,
You're not supposed to use these anymore. Use drm_dev_alloc() and
drm_dev_register() instead.
Thierry
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-13 16:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-13 15:48 [PATCH] drm: sti: use drm_platform_set_busid() helper Benjamin Gaignard
2016-06-13 16:00 ` Thierry Reding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.