summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/nvsd.h
diff options
context:
space:
mode:
authorLaurence Harrison <lharrison@nvidia.com>2011-04-06 18:26:21 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-23 17:28:20 -0700
commit8f9746fb12f789e3b651bc80b443aa0eff0ca8a2 (patch)
tree3232a07dc94044ebb571e734040d6b014083efc8 /drivers/video/tegra/dc/nvsd.h
parentcb54cef1602503c9f8042859c8080f8e58ce63a8 (diff)
video: tegra: Added sysfs for dc/smartdimmer
Includes: 1.) Added basic DC sysfs objects. 2.) Sysfs objects and functions for smartdimmer settings. 3.) Register dump access for smartdimmer. 4.) Improvements to the behavior of smartdimmer (now updates at the end of vblank instead of the beginning). 5.) Rename v_blank_complete to vblank_complete to keep in same effective style as the rest of the code. Original-Change-Id: I59addcc479880322d49b24d1206009def3c4b392 Reviewed-on: http://git-master/r/29893 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R3a65726e3644d01b374f9774e966d635234567b4
Diffstat (limited to 'drivers/video/tegra/dc/nvsd.h')
-rw-r--r--drivers/video/tegra/dc/nvsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/nvsd.h b/drivers/video/tegra/dc/nvsd.h
index 6d082265d781..f7fc4a1ead6e 100644
--- a/drivers/video/tegra/dc/nvsd.h
+++ b/drivers/video/tegra/dc/nvsd.h
@@ -19,5 +19,7 @@
void nvsd_init(struct tegra_dc *dc, struct tegra_dc_sd_settings *settings);
bool nvsd_update_brightness(struct tegra_dc *dc);
+int nvsd_create_sysfs(struct device *dev);
+void __devexit nvsd_remove_sysfs(struct device *dev);
#endif