summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_crtc.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-07-08 10:16:52 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2017-12-08 12:19:44 +0000
commitb972a80f447da0b69648c33c719fe3089a17dacc (patch)
tree08c9f5986cc70051199e5d5d6d03964a9c487c4e /drivers/gpu/drm/armada/armada_crtc.h
parenta3f6a18f9a74b64209f8ab957dd94ade8bf5a7b2 (diff)
downloadlinux-b972a80f447da0b69648c33c719fe3089a17dacc.tar.bz2
drm/armada: move fb retirement into armada_plane_work
Both the primary and overlay planes retire framebuffers in a similar manner; this can be consolidated by moving the retirement up to the armada_plane_work layer. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h
index 521ae5b6ad86..b40db72c61d8 100644
--- a/drivers/gpu/drm/armada/armada_crtc.h
+++ b/drivers/gpu/drm/armada/armada_crtc.h
@@ -39,6 +39,7 @@ struct armada_plane_work {
void (*fn)(struct armada_crtc *, struct armada_plane_work *);
void (*cancel)(struct armada_crtc *, struct armada_plane_work *);
struct drm_plane *plane;
+ struct drm_framebuffer *old_fb;
};
struct armada_plane_state {