|
@@ -19,6 +19,7 @@
|
|
|
|
|
|
#include <drm/drm_fb_helper.h>
|
|
#include <drm/drm_fb_helper.h>
|
|
#include <drm/drm_modeset_helper.h>
|
|
#include <drm/drm_modeset_helper.h>
|
|
|
|
+#include <drm/drm_gem_framebuffer_helper.h>
|
|
#include <drm/tinydrm/mipi-dbi.h>
|
|
#include <drm/tinydrm/mipi-dbi.h>
|
|
#include <drm/tinydrm/tinydrm-helpers.h>
|
|
#include <drm/tinydrm/tinydrm-helpers.h>
|
|
#include <video/mipi_display.h>
|
|
#include <video/mipi_display.h>
|
|
@@ -134,7 +135,7 @@ static const struct drm_simple_display_pipe_funcs mi0283qt_pipe_funcs = {
|
|
.enable = mi0283qt_enable,
|
|
.enable = mi0283qt_enable,
|
|
.disable = mipi_dbi_pipe_disable,
|
|
.disable = mipi_dbi_pipe_disable,
|
|
.update = tinydrm_display_pipe_update,
|
|
.update = tinydrm_display_pipe_update,
|
|
- .prepare_fb = tinydrm_display_pipe_prepare_fb,
|
|
|
|
|
|
+ .prepare_fb = drm_gem_fb_simple_display_pipe_prepare_fb,
|
|
};
|
|
};
|
|
|
|
|
|
static const struct drm_display_mode mi0283qt_mode = {
|
|
static const struct drm_display_mode mi0283qt_mode = {
|