summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc_priv.h
AgeCommit message (Collapse)Author
2011-11-30video: tegra: dc: DC and HDMI debug info displayHeechul Yun
Following files will show information of DC and hdmi /sys/kernel/debug/tegradc.[01]/{regs,mode,stats} /sys/kernel/debug/tegra_hdmi/regs /sys/devices/nvhost/tegradc.[01]/stats_enable Bug 827295 Change-Id: I60bcf4454b9ea7d0ed73a6199595b06dbfa32cd7 Reviewed-on: http://git-master/r/32454 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: Rcd7e9f5cb51e0b7613ab3f8cc802b30f45b3092c
2011-11-30video: tegra: Added sysfs for dc/smartdimmerLaurence Harrison
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
2011-11-30video: tegra: dsi: Stop dc stream at the frame endkevinh
Fixed tegra_dsi_stop_dc_stream() to flush register immediately. Added tegra_dsi_stop_dc_stream_at_frame_end(). Original-Change-Id: Ie4fe1f6d59e6bf0dab40251f33a0c2f8d816fdd8 Reviewed-on: http://git-master/r/23488 Reviewed-by: Kevin Huang <kevinh@nvidia.com> Tested-by: Kevin Huang <kevinh@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Original-Change-Id: I398cb977146656936c5768c2bc3ec83f7bdc7c66 Rebase-Id: Rda5a11692992edd47c49e0f30446efc0a26e747e
2011-11-30video: tegra: dsi: Added dsi support.Luke Huang
Bug 793366 Bug 794499 Original-Change-Id: Id49d86dd7760b75ef4947f5bdab9e37f0333391d Reviewed-on: http://git-master/r/#change,18950 Reviewed-on: http://git-master/r/22508 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R28d85faa28119d5803ab717831d610ee8ad37700
2011-11-30video: tegra: Multi client overlay managementDan Willemsen
This creates a new device node per head - /dev/tegra_dc%u. There are a number of ioctls in linux/tegra_overlay.h to open, close, and flip overlays. This is a replacement for the extensions in the tegra fb interface, but does not remove that functionality for compatibility reasons. Once everyone has moved, we can remove the tegra fb extensions. Original-Change-Id: Id78a94482637a7ce229ec64eb5feaf2dec2b7804 Reviewed-on: http://git-master/r/16700 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R0d6e864cd50ce69c2e432bbac96b4932ec2bc476
2011-11-30video: tegra: prevent double disable in suspendAndrei Warkentin
Prevents HDMI detect worker from re-disabling DC during suspend (after tegra_dc_suspend has disabled DC itself)/ Change-Id: I90016fb709934ab8fb5135443980898069f8071f Signed-off-by: Andrei Warkentin <andreiw@motorola.com> Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: work around overlay corruption on underflowsErik Gilling
Overlays can get their internal state corrupted during and underflow condition. The only way to fix this state is to reset the DC. If we get 4 consecutive frames with underflows, assume we're hosed and reset. Change-Id: Icdf61517837c8570b8de35f585075de08aa35fe7 Signed-off-by: Erik Gilling <konkers@android.com> Cc: Michael I. Gold <gold@nvidia.com>
2011-11-30video: tegra: dc: Force memory bus to full when display is enabledColin Cross
Change-Id: Ia9dfef275561fdb3b6f0a37ae0535684a60cb63e Signed-off-by: Colin Cross <ccross@android.com>
2011-11-30video: tegra: delay HDMI hotplug detection until after resumeErik Gilling
Change-Id: I87c35dc3e1287fc1d936e554013deb2f92cbd6f4 Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: add host1x support to driverGary King
includes changes by: Antti Hatala <ahatala@nvidia.com> (1) Gary King <gking@nvidia.com> (1) Erik Gilling <konkers@android.com> (2) Antti Hatala <ahatala@nvidia.com> video: tegra: dc: use nvhost driver for host1x power management Gary King <gking@nvidia.com> video: tegra: fb: add ioctl to flip dc windows to nvmap handles Erik Gilling <konkers@android.com> video: tegra: dc: increment syncpoints following window flips video: tegra: drain syncpt waits on display disable Original commit messages: ** video: tegra: dc: use nvhost driver for host1x power management Incrementing the frame done syncpoint value from the display interrupt requires that the host module is powered on. As the syncpoint state is saved and restored automatically by the host driver a cpu increment of a syncpoint in the powered down state will be lost. Also adds checks for host module being powered. ** video: tegra: fb: add ioctl to flip dc windows to nvmap handles tegra user-space graphics drivers may allocate framebuffers using nvmap rather than rendering to the common framebuffer, this may be done to support deeper buffer pipelining, color formats and pixel layouts other than the initial bootup framebuffer, etc. to use this ioctl, a caller must first specify an nvmap fd which is already open in the calling process so that the subsequent flip ioctls may be properly validated. flips are performed asynchronously, with flip completion notifications provided back to the caller via the host1x syncpoint mechanism based on earlier changes made by Antti Hatala <ahatala@nvidia.com> and Erik Gilling <konkers@android.com> Change-Id: I4e8a8bb92085a485d65fd87d89112b2969ee37ff Signed-off-by: Gary King <gking@nvidia.com>
2011-11-30video: tegra: add z order blending, output position, and stride to overlaysAntti Hatala
Change-Id: I7439f60bfa3264bec9b1447fd970eef9e4c089d9 Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: add hotplug display supportErik Gilling
This is needed for HDMI. Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: add host bus support to display controllerErik Gilling
Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: checkpatch changesErik Gilling
Signed-off-by: Erik Gilling <konkers@android.com>
2011-11-30video: tegra: add tegra display controller driverErik Gilling
Notable ommisions: * support for anything but lvds panels * inegration with nvhost driver to sync updates with 3D * FB physical geometry is not set * lacks interface to set overlay/window x,y offset v2 changes: * suspend/resume support * move code into drivers/video/tegra/dc * modularize output support * clean register dumping, add debugfs register file * code review feedback * make the display controller register the framebuffer devices Signed-off-by: Erik Gilling <konkers@android.com>