|
@@ -13,6 +13,7 @@
|
|
|
|
|
|
#include <drm/exynos_drm.h>
|
|
|
#include <drm/drm_plane_helper.h>
|
|
|
+#include <drm/drm_atomic_helper.h>
|
|
|
#include "exynos_drm_drv.h"
|
|
|
#include "exynos_drm_crtc.h"
|
|
|
#include "exynos_drm_fb.h"
|
|
@@ -170,6 +171,9 @@ static struct drm_plane_funcs exynos_plane_funcs = {
|
|
|
.update_plane = drm_plane_helper_update,
|
|
|
.disable_plane = drm_plane_helper_disable,
|
|
|
.destroy = drm_plane_cleanup,
|
|
|
+ .reset = drm_atomic_helper_plane_reset,
|
|
|
+ .atomic_duplicate_state = drm_atomic_helper_plane_duplicate_state,
|
|
|
+ .atomic_destroy_state = drm_atomic_helper_plane_destroy_state,
|
|
|
};
|
|
|
|
|
|
static int exynos_plane_atomic_check(struct drm_plane *plane,
|