search for: omap_drm_priv

Displaying 11 results from an estimated 11 matches for "omap_drm_priv".

2024 Sep 26
1
[PATCH v5 79/80] drm/omapdrm: Remove struct drm_fb_helper from struct omap_fbdev.
...omap_drv.h > +++ b/drivers/gpu/drm/omapdrm/omap_drv.h > @@ -32,6 +32,7 @@ > #define MODULE_NAME "omapdrm" > > struct omap_drm_usergart; > +struct omap_fbdev; > > struct omap_drm_pipeline { > struct drm_crtc *crtc; > @@ -97,6 +98,8 @@ struct omap_drm_private { > > /* memory bandwidth limit if it is needed on the platform */ > unsigned int max_bandwidth; > + > + struct omap_fbdev *fbdev; > }; > > > diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c > index 523be34682...
2023 May 26
1
[PATCH] drm: Remove unnecessary (void*) conversions
....c +++ b/drivers/gpu/drm/omapdrm/omap_debugfs.c @@ -19,7 +19,7 @@ static int gem_show(struct seq_file *m, void *arg) { - struct drm_info_node *node = (struct drm_info_node *) m->private; + struct drm_info_node *node = m->private; struct drm_device *dev = node->minor->dev; struct omap_drm_private *priv = dev->dev_private; @@ -33,7 +33,7 @@ static int gem_show(struct seq_file *m, void *arg) static int mm_show(struct seq_file *m, void *arg) { - struct drm_info_node *node = (struct drm_info_node *) m->private; + struct drm_info_node *node = m->private; struct drm_device *de...
2023 May 26
1
[PATCH] drm: Remove unnecessary (void*) conversions
....c +++ b/drivers/gpu/drm/omapdrm/omap_debugfs.c @@ -19,7 +19,7 @@ static int gem_show(struct seq_file *m, void *arg) { - struct drm_info_node *node = (struct drm_info_node *) m->private; + struct drm_info_node *node = m->private; struct drm_device *dev = node->minor->dev; struct omap_drm_private *priv = dev->dev_private; @@ -33,7 +33,7 @@ static int gem_show(struct seq_file *m, void *arg) static int mm_show(struct seq_file *m, void *arg) { - struct drm_info_node *node = (struct drm_info_node *) m->private; + struct drm_info_node *node = m->private; struct drm_device *de...
2023 May 26
1
[PATCH] drm: Remove unnecessary (void*) conversions
....c > @@ -19,7 +19,7 @@ > > static int gem_show(struct seq_file *m, void *arg) > { > - struct drm_info_node *node = (struct drm_info_node *) m->private; > + struct drm_info_node *node = m->private; > struct drm_device *dev = node->minor->dev; > struct omap_drm_private *priv = dev->dev_private; > > @@ -33,7 +33,7 @@ static int gem_show(struct seq_file *m, void *arg) > > static int mm_show(struct seq_file *m, void *arg) > { > - struct drm_info_node *node = (struct drm_info_node *) m->private; > + struct drm_info_node *node =...
2023 May 26
1
[PATCH] drm: Remove unnecessary (void*) conversions
....c > @@ -19,7 +19,7 @@ > > static int gem_show(struct seq_file *m, void *arg) > { > - struct drm_info_node *node = (struct drm_info_node *) m->private; > + struct drm_info_node *node = m->private; > struct drm_device *dev = node->minor->dev; > struct omap_drm_private *priv = dev->dev_private; > > @@ -33,7 +33,7 @@ static int gem_show(struct seq_file *m, void *arg) > > static int mm_show(struct seq_file *m, void *arg) > { > - struct drm_info_node *node = (struct drm_info_node *) m->private; > + struct drm_info_node *node =...
2018 Apr 26
0
[Intel-gfx] [PATCH] drm/core: Remove drm_dev_unref() and it's uses
...> } > > diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c > index 3632854c2b91..e12cedc15e27 100644 > --- a/drivers/gpu/drm/omapdrm/omap_drv.c > +++ b/drivers/gpu/drm/omapdrm/omap_drv.c > @@ -598,7 +598,7 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev) > omap_drm_irq_uninstall(ddev); > err_free_drm_dev: > omap_gem_deinit(ddev); > - drm_dev_unref(ddev); > + drm_dev_put(ddev); > err_destroy_wq: > destroy_workqueue(priv->wq); > omap_disconnect_dssdevs(); > @@ -627,7 +627,7 @@ stat...
2018 Apr 26
5
[PATCH] drm/core: Remove drm_dev_unref() and it's uses
...+ drm_dev_put(drm); return ret; } diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 3632854c2b91..e12cedc15e27 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -598,7 +598,7 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev) omap_drm_irq_uninstall(ddev); err_free_drm_dev: omap_gem_deinit(ddev); - drm_dev_unref(ddev); + drm_dev_put(ddev); err_destroy_wq: destroy_workqueue(priv->wq); omap_disconnect_dssdevs(); @@ -627,7 +627,7 @@ static void omapdrm_cleanup(struct omap_drm_priva...
2018 Apr 26
5
[PATCH] drm/core: Remove drm_dev_unref() and it's uses
...+ drm_dev_put(drm); return ret; } diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 3632854c2b91..e12cedc15e27 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -598,7 +598,7 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev) omap_drm_irq_uninstall(ddev); err_free_drm_dev: omap_gem_deinit(ddev); - drm_dev_unref(ddev); + drm_dev_put(ddev); err_destroy_wq: destroy_workqueue(priv->wq); omap_disconnect_dssdevs(); @@ -627,7 +627,7 @@ static void omapdrm_cleanup(struct omap_drm_priva...
2018 Apr 26
5
[PATCH] drm/core: Remove drm_dev_unref() and it's uses
...+ drm_dev_put(drm); return ret; } diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 3632854c2b91..e12cedc15e27 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c @@ -598,7 +598,7 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev) omap_drm_irq_uninstall(ddev); err_free_drm_dev: omap_gem_deinit(ddev); - drm_dev_unref(ddev); + drm_dev_put(ddev); err_destroy_wq: destroy_workqueue(priv->wq); omap_disconnect_dssdevs(); @@ -627,7 +627,7 @@ static void omapdrm_cleanup(struct omap_drm_priva...
2020 Sep 23
25
[PATCH v3 00/22] Convert all remaining drivers to GEM object functions
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Version 3 of this patchset mostly fixes drm_gem_prime_handle_to_fd and updates i.MX's dcss driver. The driver was missing from earlier versions and
2020 Sep 15
40
[PATCH v2 00/21] Convert all remaining drivers to GEM object functions
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Patches #1 to #16 and #18 to #19 convert DRM drivers to GEM object functions, one by one. Each patch moves existing callbacks from struct drm_driver to