diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-07-15 20:11:24 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-10-01 16:33:26 +0300 |
commit | 561f60bc511f6ec054b566205b5c40ab9558a0ff (patch) | |
tree | ddeda0112a5a0c29903e3846729ac987307b776f /drivers/gpu/drm/armada/armada_crtc.h | |
parent | d563c24514166d01b87cc96f92fe93b635d24c6e (diff) | |
download | linux-561f60bc511f6ec054b566205b5c40ab9558a0ff.tar.xz |
drm/armada: introduce generic armada_plane struct
Introduce a generic armada_plane struct which will eventually be used
for both the primary and overlay planes.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/armada/armada_crtc.h')
-rw-r--r-- | drivers/gpu/drm/armada/armada_crtc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h index a86243ef4a51..549b5f538266 100644 --- a/drivers/gpu/drm/armada/armada_crtc.h +++ b/drivers/gpu/drm/armada/armada_crtc.h @@ -34,6 +34,11 @@ struct armada_regs { struct armada_frame_work; struct armada_variant; +struct armada_plane { + struct drm_plane base; +}; +#define drm_to_armada_plane(p) container_of(p, struct armada_plane, base) + struct armada_crtc { struct drm_crtc crtc; const struct armada_variant *variant; |