diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-17 00:09:11 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-11-01 23:06:55 +0300 |
commit | f0b24871cc3aa71d52553d5a0fa11584b8e4943c (patch) | |
tree | 0fe0ffbef789d16cade7431bede4a0fb1a30d0e9 /drivers/gpu/drm/armada/armada_crtc.h | |
parent | 2925db08174eea7afc32258b6fbb4a57810846a0 (diff) | |
download | linux-f0b24871cc3aa71d52553d5a0fa11584b8e4943c.tar.xz |
drm/armada: use common helper for plane base address
Use a common helper to calculate the plane base address(es) for the
framebuffer.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.h b/drivers/gpu/drm/armada/armada_crtc.h index 5b2b2c55589c..b08043e8cc3b 100644 --- a/drivers/gpu/drm/armada/armada_crtc.h +++ b/drivers/gpu/drm/armada/armada_crtc.h @@ -62,6 +62,8 @@ int armada_drm_plane_work_queue(struct armada_crtc *dcrtc, int armada_drm_plane_work_wait(struct armada_plane *plane, long timeout); struct armada_plane_work *armada_drm_plane_work_cancel( struct armada_crtc *dcrtc, struct armada_plane *plane); +void armada_drm_plane_calc_addrs(u32 *addrs, struct drm_framebuffer *fb, + int x, int y); struct armada_crtc { struct drm_crtc crtc; |