|
@@ -16,6 +16,7 @@
|
|
|
#include <drm/drm_crtc.h>
|
|
|
#include <drm/drm_crtc_helper.h>
|
|
|
#include <drm/drm_fb_helper.h>
|
|
|
+#include <drm/drm_atomic_helper.h>
|
|
|
#include <uapi/drm/exynos_drm.h>
|
|
|
|
|
|
#include "exynos_drm_drv.h"
|
|
@@ -268,6 +269,8 @@ static void exynos_drm_output_poll_changed(struct drm_device *dev)
|
|
|
static const struct drm_mode_config_funcs exynos_drm_mode_config_funcs = {
|
|
|
.fb_create = exynos_user_fb_create,
|
|
|
.output_poll_changed = exynos_drm_output_poll_changed,
|
|
|
+ .atomic_check = drm_atomic_helper_check,
|
|
|
+ .atomic_commit = drm_atomic_helper_commit,
|
|
|
};
|
|
|
|
|
|
void exynos_drm_mode_config_init(struct drm_device *dev)
|