|
@@ -66,6 +66,7 @@
|
|
#include <drm/drm_atomic_helper.h>
|
|
#include <drm/drm_atomic_helper.h>
|
|
#include <drm/drm_crtc_helper.h>
|
|
#include <drm/drm_crtc_helper.h>
|
|
#include <drm/drm_gem_cma_helper.h>
|
|
#include <drm/drm_gem_cma_helper.h>
|
|
|
|
+#include <drm/drm_gem_framebuffer_helper.h>
|
|
#include <drm/drm_fb_cma_helper.h>
|
|
#include <drm/drm_fb_cma_helper.h>
|
|
|
|
|
|
#include "pl111_drm.h"
|
|
#include "pl111_drm.h"
|
|
@@ -73,7 +74,7 @@
|
|
#define DRIVER_DESC "DRM module for PL111"
|
|
#define DRIVER_DESC "DRM module for PL111"
|
|
|
|
|
|
static const struct drm_mode_config_funcs mode_config_funcs = {
|
|
static const struct drm_mode_config_funcs mode_config_funcs = {
|
|
- .fb_create = drm_fb_cma_create,
|
|
|
|
|
|
+ .fb_create = drm_gem_fb_create,
|
|
.atomic_check = drm_atomic_helper_check,
|
|
.atomic_check = drm_atomic_helper_check,
|
|
.atomic_commit = drm_atomic_helper_commit,
|
|
.atomic_commit = drm_atomic_helper_commit,
|
|
};
|
|
};
|