search for: drm_fbdev_dma_setup

Displaying 2 results from an estimated 2 matches for "drm_fbdev_dma_setup".

2024 Aug 30
1
[PATCH v3 26/81] drm/mediatek: Run DRM default client setup
...| DRIVER_ATOMIC, .dumb_create = mtk_gem_dumb_create, + DRM_FBDEV_DMA_DRIVER_OPS, .gem_prime_import = mtk_gem_prime_import, .gem_prime_import_sg_table = mtk_gem_prime_import_sg_table, @@ -666,7 +668,7 @@ static int mtk_drm_bind(struct device *dev) if (ret < 0) goto err_deinit; - drm_fbdev_dma_setup(drm, 32); + drm_client_setup(drm, NULL); return 0; -- 2.46.0
2024 Aug 23
1
[PATCH v2 11/86] drm/atmel-hdlcd: Run DRM default client setup
...rcc.h> > #include <drm/drm_gem_dma_helper.h> > #include <drm/drm_gem_framebuffer_helper.h> > #include <drm/drm_module.h> > @@ -865,7 +867,7 @@ static int atmel_hlcdc_dc_drm_probe(struct platform_device *pdev) > if (ret) > goto err_unload; > > - drm_fbdev_dma_setup(ddev, 24); > + drm_client_setup_with_fourcc(ddev, DRM_FORMAT_RGB888); > > return 0; I looks like a patch is missing to add DRM_FBDEV_DMA_DRIVER_OPS to struct drm_driver? Sam