Age | Commit message (Collapse) | Author |
|
Bug 855811
For smoothness and rate-limiting, it is useful to synchronize input
events to flip. This patch adds a fake input device that emits an event
on each vsync. This allows the Android input framework, which has
significant infrastructure to monitor input devices in particular, to be
notified of vsync events.
Because there is no input event type/code for this behavior, we use an
undocumented protocol of emitting a single MSC_RAW type event with
scan-code 1. We also do not register ourselves for any other
buttons/keys, which should prevent our device node from being confused
with other input types.
Change-Id: Id5297d2cef93eb53737942b43b2b09b82dee5f6f
Reviewed-on: http://git-master/r/48539
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
This adds the infrasturcture for an enhanced driver interface to program
extended capabilities of the Tegra display controller.
It exposes a new set of device nodes for userspace clients distinct from
the traditional fbdev device nodes. This is necessary due to
limitations in the fbdev infrastructure that don't allow drivers to
store file-private data.
bug 818525
Change-Id: I06cecf894792b9904c73f9ebcdeb746ff7455f6e
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40512
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
|
|
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.
Change-Id: I59addcc479880322d49b24d1206009def3c4b392
Reviewed-on: http://git-master/r/29893
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Due to dynamic recognition of the board id these macros are no longer
required
Original-Change-Id: I4eafad1a8ccab3a3e493944fd4a90df8972e7521
Reviewed-on: http://git-master/r/24127
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Change-Id: I90c1fe2a6a6f2a22b6389b3080c743dd20f1fe1a
|
|
includes:
1.) changes to DC init to add SD functionality
2.) changes to DC flip to add SD functionality
Original-Change-Id: I8c729e16e2b8a5a4158697b99cc4b3d07bf02001
Reviewed-on: http://git-master/r/21452
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Change-Id: I4ad3ee3778a0e859e0d2b0c36ee6369193795cd3
|
|
Bug 793366
Bug 794499
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>
|
|
Change-Id: I8d396047e663995651c7e60253294d95c61e325b
Reviewed-on: http://git-master/r/21295
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
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.
Change-Id: Id78a94482637a7ce229ec64eb5feaf2dec2b7804
Reviewed-on: http://git-master/r/16700
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
|
|
Device /dev/nvhdcpX is used to manage NVHDCP on framebuffer /dev/fbX.
These devices are created on hdmi driver initialition when it is
attached to dc. An ioctl interface is in video/nvhdcp.h
Hooks into edid.c and hdmi.c were added to take control of I2C bus.
use TEGRA_DC_OUT_NVHDCP_POLICY_ON_DEMAND in tegra_dc_out.flags in board
panel configuration to select a different default policy at probe.
Change-Id: I0db66fc86096b98d2604544061721d291523de75
Reviewed-on: http://git-master/r/14466
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Phillip Smith <psmith@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Signed-off-by: Erik Gilling <konkers@android.com>
|
|
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>
|