summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2014-04-02 00:22:34 +0200
committerRob Clark <robdclark@gmail.com>2014-04-02 02:11:28 +0200
commitaf93629d1524dfff7df215b7de692f4de5ee855f (patch)
tree920f905fd15c581e8af4b8fdd7d3d108f703ebe1 /include/drm/drm_crtc.h
parentdrm/shmobile: Restrict plane loops to only operate on legacy planes (diff)
downloadlinux-af93629d1524dfff7df215b7de692f4de5ee855f.tar.xz
linux-af93629d1524dfff7df215b7de692f4de5ee855f.zip
drm: Make drm_crtc_check_viewport non-static
This function will be used by the universal plane helpers and may also be useful for individual drivers. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r--include/drm/drm_crtc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 3894f85dcdff..2765a4eea4cc 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -882,6 +882,10 @@ extern int drm_plane_init(struct drm_device *dev,
bool priv);
extern void drm_plane_cleanup(struct drm_plane *plane);
extern void drm_plane_force_disable(struct drm_plane *plane);
+extern int drm_crtc_check_viewport(const struct drm_crtc *crtc,
+ int x, int y,
+ const struct drm_display_mode *mode,
+ const struct drm_framebuffer *fb);
extern void drm_encoder_cleanup(struct drm_encoder *encoder);