summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-21 17:33:33 +0100
committerThierry Reding <treding@nvidia.com>2015-01-27 10:14:43 +0100
commit62b9e06321a254c3039966cff831487498e831a5 (patch)
tree0e4de013ce57764aa3058462ed05e54fd6877701 /drivers/gpu/drm/tegra/drm.h
parent4cd4df8080a3e0d9b5a75dd52fa2133738def213 (diff)
downloadlinux-62b9e06321a254c3039966cff831487498e831a5.tar.bz2
drm/tegra: Use tegra_commit_dc() in output drivers
All output drivers have open-coded variants of this function, so export it to remove some code duplication. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r--drivers/gpu/drm/tegra/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h
index 3a3b2e7b5b3f..5a0e96debcb1 100644
--- a/drivers/gpu/drm/tegra/drm.h
+++ b/drivers/gpu/drm/tegra/drm.h
@@ -177,6 +177,7 @@ struct tegra_dc_window {
void tegra_dc_enable_vblank(struct tegra_dc *dc);
void tegra_dc_disable_vblank(struct tegra_dc *dc);
void tegra_dc_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file);
+void tegra_dc_commit(struct tegra_dc *dc);
struct tegra_output_ops {
int (*enable)(struct tegra_output *output);