summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-31OMAP4: SGX-KM: Set Functional Clock to 307.2MHZHaluk Aral
This patch sets the SGX functional clock to the maximum recommended value of 307.2MHz Change-Id: Ice25aa9270c979ac2f04dae3b8ee705d93f99a67 Signed-off-by: Haluk Aral <h-aral@ti.com> Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-05-31OMAP4: SGX-KM: Update DDK version to 1.7.17.3957Rodrigo Obregon
This patch updates the DDK to version 1.7.17.3957 The corresponding change in the user side most be in place for this DDK to work. Change-Id: Ie81c4b3d85e6531bc367b734e92502d70a0684a9 Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-05-31OMAP4: SGX-KM: Update DDK version to 1.7.17.3556Rodrigo Obregon
This patch updates the DDK to version 1.7.17.3556 The corresponding change in the user side most be in place for this DDK to work. Change-Id: I57ab5c29e7cf89bfce2388428914cc1f1474be6d Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-05-31SGX: UDD: Changing the early suspend registration levelGustavo Diaz Prado
This patch fixes a problem when a native application is running on the secondary display at the same time the Android UI is being shown in the primary display and the suspend mechanism happens. By registering to EARLY_SUSPEND_LEVEL_STOP_DRAWING level the UDD will receive the suspend signal before the DSS goes to suspend, this prevents UDD to interact with the DSS when it is already suspended. The resume mechanism will work in the inverse way, the DSS will be notified first that it needs to resume, then the UDD will be allowed to push frames again to the DSS. This ensures the UDD receives the suspend/resume signal at the correct time. Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: Ie634e17f6300c3ff2ea9973c36563c6565483322
2011-05-31SGX: UDD: Create sysfs entry to allow ignoring the display syncGustavo Diaz Prado
This patch creates a sysfs entry that allows to tell the UDD to ignore the synchronization with a specific display. The change can be made on the fly without rebooting the kernel. This feature makes sense only if flipping is enabled on the display. The sysfs entry can be found in the directory /sys/devices/platform/omaplfb/displayX/ignore_sync By echoing a 1 to the ignore_sync entry the frames per second will go beyond 60fps since the synchronization with the display will be ignored. Setting it to 0 will return it to normal. Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: I242d88a9be202a7079c0ff7901751d4d996ef5be
2011-05-31SGX: UDD: Use correct stride when TILER memory is usedGustavo Diaz Prado
This patch prevents a crash when TILER memory is being used. When the framebuffer is using TILER the container physical stride of the buffer should be used (depending on the bpp) instead of the 4K/8K virtual stride since the SGX currently uses the physical address of the buffer. This is a workaround to prevent such crash. Change-Id: I14631743bb575b88cdc7fb2c0927d64c954eb744 Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-05-31V4L2-GFX: (NEW) video capture driver for SGX texture streamingTony Lofthouse
New driver sources under: drivers/media/video/omapgfx/ Ioctls for texture streaming applications in include/linux/omap_v4l2_gfx.h This patch also needs to increase the number SYS_DEVICE_COUNT in the SGX/PVR kernel services. Also introduces a new Kconfig variable CONFIG_VIDEO_OMAP_GFX Fixed up whitespace and checked with sparse and checkpatch. Change-Id: I909e129c28f8c715037e2233420e70cf3c9fde1c Signed-off-by: Tony Lofthouse <a0741364@ti.com> Signed-off-by: Tony Lofthouse <tony.lofthouse@ti.com>
2011-05-31SGX-KM: Add PDump build optionRodrigo Obregon
Parameter Buffer Dump debug option to show the contents of the SGX registers. This option can be used with the driver built in release or debug, but the option must also be enabled in the user side. Change-Id: If8974c4217b927e299c30cb6c71362ac7abdf2a0 Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-05-31OMAP4: Virtual display: Add manual update support for DSI panelsGustavo Diaz Prado
This patch adds manual update support for the virtual display. Synchronization code is now executed in process context rather than interrupt context which could cause schedule while atomic issues. In order to achieve the maximum refresh rate without display synchronization (to prevent tearing), updates are made with driver->sched_update rather than driver->update when available on manual update panels. The SGX display driver used when Virtual display is enabled has also been updated to allow the applications to behave normally when the SwapInterval is 2 or more on manual update panels, this change is already present on the UDD without Virtual display enabled so they are aligned. Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: I53b9207fd839374c135c66a8bf8b18f0cf722642
2011-05-31SGX: Enable early suspend flag for all OMAP3/4 buildsGustavo Diaz Prado
This patch enables the SGX_EARLYSUSPEND flag on all the OMAP3/4 builds which allows the SGX display driver to receive properly the suspend/resume requests from the early suspend mechanism. This will solve suspend/resume 3D application issues when the dual display feature is enabled in the DDK. Currently it was only enabled on OMAP3 builds. Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: Ief6e221f916729a0747e81b550f6fb426184a61b
2011-05-31SGX: UDD: Fix crash when cloning with FB sysfs entriesGustavo Diaz Prado
When a 3D app is runnning (avoiding the tearing effect) there is a very high chance the pointer to the display is null just after it has been extracted from the framebuffer and the UI is cloned using the sysfs entries from the framebuffer. This problem can be fixed by locking the framebuffer when the synchronization is happening and also when the frame is being pushed to the display as well. Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: Ia4e6cc6d52ba03f0098bc45ee019173d44925333
2011-05-31OMAP4: SGX-KM: Update DDK version to 1.6.16.4061Rodrigo Obregon
This patch updates the DDK to version 1.6.16.4061 The corresponding change in the user side most be in place for this DDK to work. Change-Id: I0e3ffff29506115fac5b215b1020d20559ee1853 Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-05-31OMAP4: SGX: UDD: Fixed checking of manual update support for DSS2Lajos Molnar
Displays that don't support manual update mode do not implements the get_update_mode() method. Changed code to use the new DSS2 method to check if an overlay is manually updated. Change-Id: I7fecbc62b021cf83bcca74455142198bcfff3d1e Signed-off-by: Lajos Molnar <molnar@ti.com>
2011-05-31OMAP/SGX: UDD: Make use of new sched_update() call for DSS2 displaysLajos Molnar
Have SGX now call the new sched_update() so that it is not blocked on a concurrent update. Change-Id: I18bd9d9f36d077ad0ffc79919d2bb861c1fb5dec Signed-off-by: Lajos Molnar <molnar@ti.com>
2011-05-31SGX: UDD: Give support to calculate DPI from framebuffer infoGustavo Diaz Prado
Populates the information needed in the DisplayClass structure reported to SGX Services to determine the panel DPI based on the information given by the framebuffer. This patch is a rebase for DDK 1.6.16.3924. Signed-off-by: sayen mohanty <sayenmohanty@ti.com> Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: I1234be3711ec61a8da9b1c34065e998066a2d0d0
2011-05-31SGX: UDD: Correct update and sync sequence for DPI and HDMI panelsGustavo Diaz Prado
Prevents tearing on DPI and HDMI panel by following the correct update and sync sequence for those panels. Code is generic for DSI and DPI panels. Change-Id: Ided7bf4e9795d8bd389c63007a7b83834833f720 Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-05-31SGX: UDD: Support for flipping with multiple display typesGustavo Diaz Prado
This patch enables the SGX display driver to support flipping with multiple display types and configurations including DSI auto and manual update modes. Code is compatible with DPI interface panels and HDMI. Change-Id: Iab57b495d29bb406f748a6e5b56612713789b7bb Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-05-31OMAP3: PVR: Won't compile without CONFIG_HAS_EARLYSUSPEND.Steve Schefter
Add support for compiling with CONFIG_HAS_EARLYSUSPEND turned off. Turning this off is needed as a temporary step in getting OMAP3 support in 2.6.35. Signed-off-by: Steve Schefter <sschefter@ti.com> Acked-by: Leed Aguilar <leed.aguilar@ti.com>
2011-05-31OMAP4: SGX: Rebase virtual display code for DDK 1.6.16.3924Gustavo Diaz Prado
Rebases the virtual display code to make it work DDK 1.6.16.3924 and kernel 2.6.35 Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com> Change-Id: I29bc5e14e735b82834a83dbc8245a4ae4095ff57
2011-05-31SGX:KM DVFS ImplementationHaluk Aral
DVFS Implementation for SGX driver Change-Id: Ic85b2cd8c91c289984fff4ab804eb565506dd9cf Signed-off-by: Haluk Aral <h-aral@ti.com>
2011-05-31SGX-KM: OMAP4 change SYS_SGX_ACTIVE_POWER_LATENCY_MS to 1Eric Luong
Re-submit due to http://review.omapzoom.org/#change,7359 over write it Signed-off-by: Eric Luong <x0119002@ti.com>
2011-05-31SGX-KM: Upgrading to DDK 1.6.16.3924Hemant Hariyani
Upgrading kernel side DDK to version 1.6.16.3924. Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-05-31SGX: UDD: Give support to calculate DPI from framebuffer informationGustavo Diaz Prado
This patch populates the information needed in the DisplayClass structure reported to SGX Services to determine the panel DPI based on the information given by the framebuffer Signed-off-by: sayen mohanty <sayenmohanty@ti.com> Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-05-31OMAP4: SGX: Rebasing virtual display codeGustavo Diaz Prado
This patch rebases the virtual display code according to the new DSS structures changes to make it work on 2.6.35 Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-05-31SGX-KM: OMAP4 change SYS_SGX_ACTIVE_POWER_LATENCY_MS to 1Eric Luong
For L27.7.1 Graphics hand off Signed-off-by: Eric Luong <x0119002@ti.com>
2011-05-31SGX-KM: OMAP4 K35 Turn on active power managementEric Luong
For L27.7.1 Graphics release Signed-off-by: Eric Luong <x0119002@ti.com> Change-Id: I88aa53bad1b38da196bb094d2c62492609408687
2011-05-31SGX-KM: Use base address and IRQ from hwmodHemant Hariyani
Remove hard coded base address and IRQ from the SGX driver and use them from hwmod database. Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-05-31SGX-KM: hwmod and pm_runtime adaptationHemant Hariyani
Adding pm_runtime and hwmod support. Device registration happens as a part of omap_device_build in omap_init_gpu (mach-omap2/devices.c) and is not required here in the driver. pm_runtime calls are required to enable and disable required clocks. This patch does not use hwmod base address - a separate patch will be provided for that. Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-05-31SGX-KM Initial SGX driver integration for 2.6.35 kernel.Hemant Hariyani
This is the first version of SGX driver integration to ensure UI boot-up. Power management and hwmod modifications will be added as patches. Change-Id: If71e6cd651a53f4809e7b978b693cb7d1a89178d Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-05-31ARM: L2: Add and export outer_clean_allVikram Pandita
The Errata 588369 and 539766 demands that clean all operation be done as clean each way at a time This patch also raps the implementation under the CONFIG errata macro so that for non-errata version silicon it can be disabled Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Woodruff, Richard <r-woodruff2@ti.com>
2011-05-31enable build omap3 boardsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31omap2 hwmod 2420 mmc devattr name fixAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31omap4 hwmod enable kbdAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31alsa omap4 hdmi allow hdmi long name now asoc has itAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31alsa omap4 make hdmi card 1Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31uplevel config post 2.6.38.2Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31rename keyboard init to keypad initAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31OMAP4: Keyboard board supportAbraham Arce
Keyboard support for SDP OMAP4430 Signed-off-by: Abraham Arce <x0066660@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-05-31OMAP4: Keyboard pm runtimeAbraham Arce
Enable pm runtime in driver Signed-off-by: Abraham Arce <x0066660@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-05-31OMAP4: keyboard: fix init function headerSebastien Jan
Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-05-31OMAP4: Keyboard device registrationAbraham Arce
Register keyboard device with hwmod framework Signed-off-by: Abraham Arce <x0066660@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-05-31OMAP4: Touchscreen: Board SupportAbraham Arce
Register 2 Synaptic TM1217 Touchscreen controllers for OMAP4430 development platform Signed-off-by: Abraham Arce <x0066660@ti.com> Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-05-31OMAP4: Touchscreen: Secondary sensor virtualizationAbraham Arce
Create an entry in i2c sysfs so we can enable secondary sensor as virtualized and Y coordinates can be reported accordingly echo 1 > /sys/devices/platform/<i2c>/<device>/virtualized Signed-off-by: Abraham Arce <x0066660@ti.com>
2011-05-31touchscreen: Fix BUG: using smp_processor_id() in preemptible codeSantosh Shilimkar
touchscreen: Fix BUG: using smp_processor_id() in preemptible code This patch fixes the below preempt leak Backtrace: [<c00365b4>] (dump_backtrace+0x0/0x110) from [<c0357b78>] (dump_stack+0x18/0x1c) r7:cfae6a20 r6:c0260d28 r5:00000000 r4:cfab4000 [<c0357b60>] (dump_stack+0x0/0x1c) from [<c01dbe24>] (debug_smp_processor_id+0xc0/0xf0) [<c01dbd64>] (debug_smp_processor_id+0x0/0xf0) from [<c0260d28>] (syn_isr_work+0x2c/0x314) r7:cfae6a20 r6:cfae6a20 r5:cfab4000 r4:cf96b520 [<c0260cfc>] (syn_isr_work+0x0/0x314) from [<c0071fc8>] (worker_thread+0x1d8/0x270) [<c0071df0>] (worker_thread+0x0/0x270) from [<c0076410>] (kthread+0x88/0x90) [<c0076388>] (kthread+0x0/0x90) from [<c0062218>] (do_exit+0x0/0x664) r7:00000000 r6:00000000 r5:00000000 r4:00000000 BUG: using smp_processor_id() in preemptible [00000000] code: tm12xx_wq/413 caller is syn_isr_work+0x1a4/0x314 Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Abraham Arce <x0066660@ti.com>
2011-05-31OMAP4: Touchscreen: Header file dependencyAbraham Arce
Add correct header file to include kmalloc, kfree, kzalloc error: implicit declaration of function 'kmalloc' error: implicit declaration of function 'kfree' error: implicit declaration of function 'kzalloc' Signed-off-by: Abraham Arce <x0066660@ti.com>
2011-05-31OMAP4: Touchscreen: Controller IdentificationAbraham Arce
Adding the 2 controllers identification within the driver Signed-off-by: Abraham Arce <x0066660@ti.com>
2011-05-31OMAP4: Touchscreen: Initial Driver SupportMika Kuoppala
Add Synaptic TM12XX touchscreen driver Signed-off-by: Abraham Arce <x0066660@ti.com>
2011-05-31OMAP: board-4430sdp: Board File changes to introduce Panel TaalArchit Taneja
2011-05-31smsc95xx: Add module parameter to override MAC addressSebastien Jan
Define a new module parameter 'macaddr' to override the MAC address fetched either from eeprom, or randomly generated. The expected MAC address shall be in the 01:23:45:67:89:AB format. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-05-31OMAP: SYSLINK: cacheflushHari Kanigeri
Revert "ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range" This reverts commit 702b94bff3c50542a6e4ab9a4f4cef093262fe65 Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>