Age | Commit message (Collapse) | Author |
|
To prepare for kernel modularization, nvhost include files need to be
moved from mach-tegra/include to kernel/include. At the same time
user space specific part is split into nvhost_ioctl.h.
Bug 854182
Change-Id: I3694a40d786028733310ecf5b59341282af571be
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/43211
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
below variables should be defined according to power sequence
specifications of panels.
- timing between panel power on to lvds singal enable
- timing between lvds signal enable to backlight enable
bug 818959
(cherry picked from commit 38c3b4bc7fcda70df84bd4a10112cc1468f0a856)
(reviewed on http://git-master/r/41669)
Change-Id: I4844baf2cb680e3e898bcf0907be57f29e0c71da
Reviewed-on: http://git-master/r/42967
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
|
|
setting max_pixclock for cardhu, enterprise, ventana and enterprise
to 148.5Mhz
Change-Id: Ia734bdb9817913183bbf721bf3c14573c9a75888
Reviewed-on: http://git-master/r/35254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
- The issue is due to the corruption of bootloader fb during kernel
initialization. This change reserves the bootloader fb and then
frees it until bootloader fb is copied to fb for Cardhu, Ventana,
Whistler, Enterprise and Aruba.
- Change color depth of Cardhu and Harmony to 32-bit.
Bug 828271
Bug 832016
Change-Id: I05ef5930ee68dcbd672a5cb59b4568a2c88a2e55
Reviewed-on: http://git-master/r/34966
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
In <board>_panel_late_resume() first switch to default
governor before fb_blank().
Bug 843845
Change-Id: Ic6e3bc1da10631fc8a4525e57039c94ee552f7d2
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/39193
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
use FB_BLANK_POWERDOWN on hdmi device in earlysuspend to cause
tegra_dc_disable.
This change applies to enterprise,whistler and ventana.
Fixes bug 835171
Change-Id: I792ab60344667acbdfcbd65a2ba697c2e7b59a78
Reviewed-on: http://git-master/r/35854
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
The new parameters help cpu frequency stay in low level
clock as much as possible. This helps reduce power consumption
when display is off.
BUG 817727
Change-Id: I030319d78e793a0372008a5c0640dce3720a47d8
Reviewed-on: http://git-master/r/35266
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
To improve the power consumption situation for MP3 playback
the scaling governor is set to conservative when display
is turned off and the default governor is saved. The governor
is restored when display is turned on.
Bug 817727
Original work done by "Wen Yi <wyi@nvidia.com>"
Change-Id: I43ffb0d508cc6d0a80eeeffcbab77526b644c437
Reviewed-on: http://git-master/r/32194
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
To improve the power consumption situation for MP3 playback
the scaling governor is set to conservative when display
is turned off and the default governor is saved. The governor
is restored when display is turned on.
Bug 817727
Change-Id: I8693b5ae4c83d00895f2fae3db9397dd894de722
Reviewed-on: http://git-master/r/28270
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
reserve first 1K from iram and copy cpu_reset_handler
to this location
Bug 786290
Original-Change-Id: I8baaaba7bcc30e4cad2e15a368d4fcbc8e44ce07
Reviewed-on: http://git-master/r/22295
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Jin Qian <jqian@nvidia.com>
Change-Id: I9c8010bb1d45df65ecc13d89d5168b68ed43c238
|
|
Set to 18bit which is what Ventana's panel expects.
Enabled ordered dithering for smoother gradients.
Bug 797698
Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Reviewed-on: http://git-master/r/22717
(cherry picked from commit a904334b06a7b3bf255edadedd8b04055b2a0457)
Change-Id: I4b707068cae7aa91094b77845d779535f276db82
Reviewed-on: http://git-master/r/23346
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Ventana has both an internal panel (on fb0) and external HDMI (on
fb1). One of the devices might be blanked while another is unblanked.
In order for the backlight blanking logic to know whether to turn off
the backlight for a particular framebuffer's blanking notification, it
needs to be able to check if a given framebuffer device corresponds to
the backlight.
This implement the check_fb pwm_backlight hook to make the internal
panel's backlight only toggle on fb0 blank changes.
Making equivalent commit from http://git-master/r/21717
Fixed bug 798863
Change-Id: I6465ec40720dc24410808723439277a20c7f764d
Reviewed-on: http://git-master/r/23101
Reviewed-on: http://git-master/r/23726
Tested-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Bug: 792248
Change-Id: I4094a203e376fedfc35d3e983e9e44ef3bba2b1e
Reviewed-on: http://git-master/r/21649
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Linux kernel has a standard way to handle this, which is to
call regulator_has_full_constraints(), which will make the
regulator core at late_init time disable any regulators that
don't have a reference count and are enabled in hardware.
Change-Id: Ibd6d87be7ef0bf0218ab948806ddb1e7beffb251
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/21108
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Updated bits per pixel for ventana to 32.
Fixed bug 796836
Change-Id: I8b4dfff8e0e8a9179e4b345168e661db9b955f3f
Reviewed-on: http://git-master/r/21015
Tested-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
|
|
It seems the "ventana_hdmi_enb" has to stay 1 for hotplug_gpio
to work. Setting ventana_hdmi_enb to 0 in ventana_hdmi_disable()
will render hotplug_gpio non-functional afterwards. Removing the
gpio_set_value(ventana_hdmi_ena..) calls from both
ventana_hdmi_enable() and ventana_hdmi_disable() seems to solve
the problem. This leave ventana_hdmi_ena at its default value.
bug 784597
Change-Id: I3c3d6282e8f17cce1287410dac7d28744cb9f8ba
Reviewed-on: http://git-master/r/17083
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
For K36, the kernel command line will pass "mem=size@base" from bootloader
to kernel. Apparently, we were having two different ways to interpret
it
1) size = total physical memory size - carveout size
2) Or size = total physical memory size
Ventana is the only platform to use #1. Switch it to #2 which requires
tegra_reserve() to handle carveout memory allocation.
Change carveout size to 256MB as well.
Change-Id: Ifc24c1a5f6300d827068c67c0580cae7eb4ec229
Reviewed-on: http://git-master/r/17444
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
vdd_lvds supply is not directly derived from pmu in ventana and hence correction
Change-Id: Idf925ec9b6ff6aeeddfd590f3bd8ff42147727bb
Reviewed-on: http://git-master/r/14138
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
added code to control panel power during display on/off.
Change-Id: I41754c0a7639a395162c7df564ea6057b863edbc
Reviewed-on: http://git-master/r/13673
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Change-Id: I5115a7a9918e28449b585687689d362dae5057df
Reviewed-on: http://git-master/r/12259
Reviewed-by: Acorn Pooley <apooley@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Note: The current mirroring mode seems to require both the
internal and external panel to be set at 1280X720. Since
ventana uses 1366X768, the HDMI monitor shows corruption.
Change-Id: Iec0ce9fd92d6cd7050e881a1af6fa7e1ace92280
Reviewed-on: http://git-master/r/11655
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
register the tegradc0, tegradc1, grhost, pwm-backlight and carveout
devices
Change-Id: Ia61c0632470e571cc57279dc3b197ccd1fca80f0
Signed-off-by: Gary King <gking@nvidia.com>
|