On 8/16/24 14:22, Thomas Zimmermann wrote: > Call drm_client_setup() to run the kernel's default client setup > for DRM. Set fbdev_probe in struct drm_driver, so that the client > setup can start the common fbdev client. > > Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de> > Cc: "Noralf Trønnes" <nor...@tronnes.org> > --- > drivers/gpu/drm/tiny/mi0283qt.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/tiny/mi0283qt.c b/drivers/gpu/drm/tiny/mi0283qt.c > index cdc5423990ca..f1461c55dba6 100644 > --- a/drivers/gpu/drm/tiny/mi0283qt.c > +++ b/drivers/gpu/drm/tiny/mi0283qt.c <snip> > @@ -226,7 +228,7 @@ static int mi0283qt_probe(struct spi_device *spi) > > spi_set_drvdata(spi, drm); > > - drm_fbdev_dma_setup(drm, 0); > + drm_client_setup(drm, NULL); Would it be possible for drm_dev_register() to handle the client setup so drivers won't have to? struct drm_driver could have a field for drivers that want a different color format. Noralf. > > return 0; > }
- [PATCH 17/86] drm/ili9341: Run DRM default client setup Thomas Zimmermann
- [PATCH 25/86] drm/mcde: Run DRM default client setup Thomas Zimmermann
- Re: [PATCH 25/86] drm/mcde: Run DRM default client ... Linus Walleij
- [PATCH 23/86] drm/kmb: Run DRM default client setup Thomas Zimmermann
- [PATCH 21/86] drm/imx/lcdc: Run DRM default client setup Thomas Zimmermann
- [PATCH 22/86] drm/ingenic: Run DRM default client setup Thomas Zimmermann
- Re: [PATCH 22/86] drm/ingenic: Run DRM default clie... Paul Cercueil
- [PATCH 27/86] drm/meson: Run DRM default client setup Thomas Zimmermann
- [PATCH 24/86] drm/logicvc: Run DRM default client setup Thomas Zimmermann
- [PATCH 28/86] drm/mi0283qt: Run DRM default client setup Thomas Zimmermann
- Re: [PATCH 28/86] drm/mi0283qt: Run DRM default cli... Noralf Trønnes
- Re: [PATCH 28/86] drm/mi0283qt: Run DRM default... Thomas Zimmermann
- Re: [PATCH 28/86] drm/mi0283qt: Run DRM default cli... Noralf Trønnes
- [PATCH 32/86] drm/panel-mipi-dbi: Run DRM default client... Thomas Zimmermann
- Re: [PATCH 32/86] drm/panel-mipi-dbi: Run DRM defau... Noralf Trønnes
- [PATCH 33/86] drm/pl111: Run DRM default client setup Thomas Zimmermann
- [PATCH 34/86] drm/renesas/rcar-du: Run DRM default clien... Thomas Zimmermann
- Re: [PATCH 34/86] drm/renesas/rcar-du: Run DRM defa... Laurent Pinchart
- [PATCH 31/86] drm/panel/ili9341: Run DRM default client ... Thomas Zimmermann
- Re: [PATCH 31/86] drm/panel/ili9341: Run DRM defaul... Neil Armstrong
- Re: [PATCH 31/86] drm/panel/ili9341: Run DRM defaul... Neil Armstrong