aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_crtc.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 11:53:06 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-07-30 11:53:06 +0100
commitb1ec9ed6aa985be432f9ba29696029dc6779258e (patch)
treebff16f0376a11d219d923bbd08e1fc879b0f7a35 /drivers/gpu/drm/armada/armada_crtc.h
parentdrm/armada: switch primary plane to atomic modeset (diff)
downloadlinux-dev-b1ec9ed6aa985be432f9ba29696029dc6779258e.tar.xz
linux-dev-b1ec9ed6aa985be432f9ba29696029dc6779258e.zip
drm/armada: switch overlay plane to atomic modeset
Switch the overlay plane away from the transitional helpers and legacy methods, and use atomic helpers instead to implement the legacy set_plane ioctl methods. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_crtc.h')
-rw-r--r--drivers/gpu/drm/armada/armada_crtc.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h
index afc9266bc1e2..5b607d45f469 100644
--- a/drivers/gpu/drm/armada/armada_crtc.h
+++ b/drivers/gpu/drm/armada/armada_crtc.h
@@ -35,29 +35,12 @@ struct armada_crtc;
struct armada_plane;
struct armada_variant;
-struct armada_plane_work {
- void (*fn)(struct armada_crtc *, struct armada_plane_work *);
- void (*cancel)(struct armada_crtc *, struct armada_plane_work *);
- bool need_kfree;
- struct drm_plane *plane;
- struct drm_framebuffer *old_fb;
- struct drm_pending_vblank_event *event;
- struct armada_regs regs[24];
-};
-
struct armada_plane {
struct drm_plane base;
wait_queue_head_t frame_wait;
- struct armada_plane_work *work;
};
#define drm_to_armada_plane(p) container_of(p, struct armada_plane, base)
-int armada_drm_plane_work_queue(struct armada_crtc *dcrtc,
- struct armada_plane_work *work);
-int armada_drm_plane_work_wait(struct armada_plane *plane, long timeout);
-void armada_drm_plane_work_cancel(struct armada_crtc *dcrtc,
- struct armada_plane *plane);
-
struct armada_crtc {
struct drm_crtc crtc;
const struct armada_variant *variant;
@@ -73,8 +56,6 @@ struct armada_crtc {
bool interlaced;
bool cursor_update;
- struct drm_plane *plane;
-
struct armada_gem_object *cursor_obj;
int cursor_x;
int cursor_y;