--- zzzz-none-000/linux-3.10.107/drivers/gpu/drm/exynos/exynos_drm_plane.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/gpu/drm/exynos/exynos_drm_plane.h 2021-02-04 17:41:59.000000000 +0000 @@ -9,12 +9,10 @@ * */ -int exynos_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc, - struct drm_framebuffer *fb, int crtc_x, int crtc_y, - unsigned int crtc_w, unsigned int crtc_h, - uint32_t src_x, uint32_t src_y, - uint32_t src_w, uint32_t src_h); -void exynos_plane_commit(struct drm_plane *plane); -void exynos_plane_dpms(struct drm_plane *plane, int mode); -struct drm_plane *exynos_plane_init(struct drm_device *dev, - unsigned int possible_crtcs, bool priv); +enum drm_plane_type exynos_plane_get_type(unsigned int zpos, + unsigned int cursor_win); +int exynos_plane_init(struct drm_device *dev, + struct exynos_drm_plane *exynos_plane, + unsigned long possible_crtcs, enum drm_plane_type type, + const uint32_t *formats, unsigned int fcount, + unsigned int zpos);