diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-12-11 12:47:23 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-01-20 14:57:58 (GMT) |
commit | 2d13b6796e420ed00389b7399a5d5ac7b1fed436 (patch) | |
tree | 8889af1340e267331fd7969d7f949ac9d6661019 /include/drm/drm_crtc.h | |
parent | af26ef3b3978349cfbd864163a6ebb4906b733b5 (diff) | |
download | linux-fsl-qoriq-2d13b6796e420ed00389b7399a5d5ac7b1fed436.tar.xz |
drm: encapsulate crtc->set_config calls
With refcounting we need to adjust framebuffer refcounts at each
callsite - much easier to do if they all call the same little helper
function.
Reviewed-by: Rob Clark <rob@ti.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 00d78b5..665289a 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -985,6 +985,7 @@ extern int drm_mode_getcrtc(struct drm_device *dev, void *data, struct drm_file *file_priv); extern int drm_mode_getconnector(struct drm_device *dev, void *data, struct drm_file *file_priv); +extern int drm_mode_set_config_internal(struct drm_mode_set *set); extern int drm_mode_setcrtc(struct drm_device *dev, void *data, struct drm_file *file_priv); extern int drm_mode_getplane(struct drm_device *dev, |