diff --git a/drivers/gpu/drm/rp1/rp1-dpi/Kconfig b/drivers/gpu/drm/rp1/rp1-dpi/Kconfig index 95d17902094db6..f99305a8ef86ee 100644 --- a/drivers/gpu/drm/rp1/rp1-dpi/Kconfig +++ b/drivers/gpu/drm/rp1/rp1-dpi/Kconfig @@ -2,6 +2,7 @@ config DRM_RP1_DPI tristate "DRM Support for RP1 DPI" depends on DRM && MFD_RP1 + select DRM_CLIENT_SELECTION select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select DRM_VRAM_HELPER diff --git a/drivers/gpu/drm/rp1/rp1-dpi/rp1_dpi.c b/drivers/gpu/drm/rp1/rp1-dpi/rp1_dpi.c index cd8bede3c115cb..e03f4be6f15638 100644 --- a/drivers/gpu/drm/rp1/rp1-dpi/rp1_dpi.c +++ b/drivers/gpu/drm/rp1/rp1-dpi/rp1_dpi.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -273,6 +274,7 @@ static struct drm_driver rp1dpi_driver = { .major = 1, .minor = 0, DRM_GEM_DMA_DRIVER_OPS, + DRM_FBDEV_DMA_DRIVER_OPS, .release = rp1dpi_stopall, }; diff --git a/drivers/gpu/drm/rp1/rp1-dsi/Kconfig b/drivers/gpu/drm/rp1/rp1-dsi/Kconfig index 80c57bc4879255..e23300aa8bcba5 100644 --- a/drivers/gpu/drm/rp1/rp1-dsi/Kconfig +++ b/drivers/gpu/drm/rp1/rp1-dsi/Kconfig @@ -2,6 +2,7 @@ config DRM_RP1_DSI tristate "DRM Support for RP1 DSI" depends on DRM && MFD_RP1 + select DRM_CLIENT_SELECTION select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select DRM_MIPI_DSI diff --git a/drivers/gpu/drm/rp1/rp1-dsi/rp1_dsi.c b/drivers/gpu/drm/rp1/rp1-dsi/rp1_dsi.c index fe9077c14bfefe..7290f35c3bd65b 100644 --- a/drivers/gpu/drm/rp1/rp1-dsi/rp1_dsi.c +++ b/drivers/gpu/drm/rp1/rp1-dsi/rp1_dsi.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -264,6 +265,7 @@ static struct drm_driver rp1dsi_driver = { .major = 1, .minor = 0, DRM_GEM_DMA_DRIVER_OPS, + DRM_FBDEV_DMA_DRIVER_OPS, .release = rp1dsi_stopall, }; diff --git a/drivers/gpu/drm/rp1/rp1-vec/Kconfig b/drivers/gpu/drm/rp1/rp1-vec/Kconfig index f646c01af5ae14..4159587d9d78c0 100644 --- a/drivers/gpu/drm/rp1/rp1-vec/Kconfig +++ b/drivers/gpu/drm/rp1/rp1-vec/Kconfig @@ -2,6 +2,7 @@ config DRM_RP1_VEC tristate "DRM Support for RP1 VEC" depends on DRM && MFD_RP1 + select DRM_CLIENT_SELECTION select DRM_GEM_DMA_HELPER select DRM_KMS_HELPER select DRM_VRAM_HELPER diff --git a/drivers/gpu/drm/rp1/rp1-vec/rp1_vec.c b/drivers/gpu/drm/rp1/rp1-vec/rp1_vec.c index 578ccdf439beb7..712a75e676b977 100644 --- a/drivers/gpu/drm/rp1/rp1-vec/rp1_vec.c +++ b/drivers/gpu/drm/rp1/rp1-vec/rp1_vec.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -450,6 +451,7 @@ static struct drm_driver rp1vec_driver = { .major = 1, .minor = 0, DRM_GEM_DMA_DRIVER_OPS, + DRM_FBDEV_DMA_DRIVER_OPS, .release = rp1vec_stopall, };