File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ config DRM_OFDRM
67
67
config DRM_PANEL_MIPI_DBI
68
68
tristate "DRM support for MIPI DBI compatible panels"
69
69
depends on DRM && SPI
70
+ select DRM_CLIENT_SELECTION
70
71
select DRM_KMS_HELPER
71
72
select DRM_GEM_DMA_HELPER
72
73
select DRM_MIPI_DBI
Original file line number Diff line number Diff line change 15
15
#include <linux/spi/spi.h>
16
16
17
17
#include <drm/drm_atomic_helper.h>
18
+ #include <drm/drm_client_setup.h>
18
19
#include <drm/drm_drv.h>
19
20
#include <drm/drm_fbdev_dma.h>
20
21
#include <drm/drm_gem_atomic_helper.h>
@@ -264,6 +265,7 @@ static const struct drm_driver panel_mipi_dbi_driver = {
264
265
.driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_ATOMIC ,
265
266
.fops = & panel_mipi_dbi_fops ,
266
267
DRM_GEM_DMA_DRIVER_OPS_VMAP ,
268
+ DRM_FBDEV_DMA_DRIVER_OPS ,
267
269
.debugfs_init = mipi_dbi_debugfs_init ,
268
270
.name = "panel-mipi-dbi" ,
269
271
.desc = "MIPI DBI compatible display panel" ,
@@ -388,7 +390,7 @@ static int panel_mipi_dbi_spi_probe(struct spi_device *spi)
388
390
389
391
spi_set_drvdata (spi , drm );
390
392
391
- drm_fbdev_dma_setup (drm , 0 );
393
+ drm_client_setup (drm , NULL );
392
394
393
395
return 0 ;
394
396
}
You can’t perform that action at this time.
0 commit comments