Displaying 2 results from an estimated 2 matches for "drm_fbdev_dma_driver_ops".
2024 Aug 30
1
[PATCH v3 26/81] drm/mediatek: Run DRM default client setup
...ient_setup.h>
#include <drm/drm_drv.h>
#include <drm/drm_fbdev_dma.h>
#include <drm/drm_fourcc.h>
@@ -610,6 +611,7 @@ static const struct drm_driver mtk_drm_driver = {
.driver_features = DRIVER_MODESET | DRIVER_GEM | 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.4...
2024 Aug 23
1
[PATCH v2 11/86] drm/atmel-hdlcd: Run DRM default client setup
...; @@ -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