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>
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user