summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-25SGX fix omap_device_set_rate argsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX-KM: Reduce PB heap to 16M and increase General Heap sizeHemant Hariyani
This patch reduces PB heap size to allow more mapping space in General Heap. Change-Id: I80fe1f3bf014ffbc94a07fd97f9836e20fe80930 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25SGX-KM: PVR2DAPI : custom flush operation for wrapped memory regionsEric Luong
This enable custom flush operation for wrapped memory regions Signed-off-by: Gowtham Tammana <g-tammana@ti.com> Signed-off-by: Eric Luong <x0119002@ti.com> Change-Id: Ibe89944e7d34123bc4263c49383af9b4ec195938
2011-08-25OMAP3: SGX-KM: Modified for DDK 1.7.17.4403seonkon.choi
support dmtimer, pm_runtime and resources of I/O and IRQ on OMAP3. based on Id3a713fa22a227dbcd0ec098589d62b350802247. Change-Id: Ib16a7029d2462a819ed7e45f8ca0d62b8e10b7b8 Signed-off-by: seonkon.choi <seonkon.choi@ti.com>
2011-08-25SGX-KM: OMAPLFB: CommandComplete missed callsGustavo Diaz Prado
When the suspend/resume mechanism is exercised too fast, a call to command complete can be missed. This change fixes a problem with the command complete flag being incorrectly set to true when the command complete was not performed. This inconsistency can cause the GPU driver to stall. Change-Id: Icc96e3f12d7e8e4ba3b8a0dd2ac25e4121820f07 Signed-off-by: Rodrigo Obregon <robregon@ti.com> Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-08-25OMAP4; SGX-KM: Set Active Power Latency to 2 msHemant Hariyani
APM latency was being set to 1 ms. This could cause problems if the power cycle time was close to 1 ms. Setting it to 2ms to allow more tolerance for delay in power up/down path. Change-Id: Ic788e68835e973e7bb9802ef4b95746d3bcda7df Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25OMAP4: SGX-KM: Enable HW recoveryHemant Hariyani
This patch enables SGX HW recovery. HW recovery must MUST be enabled in the user mode SGX DDK for this to work. Change-Id: I842f818e1ce0f5bd80e4d0c9540e8f9a6213c79b Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25OMAP4: SGX-KM: Fix VCore3 scaling issueHemant Hariyani
SGX driver was holding its clocks at 307 MHz and this would prevent scaling OPP down. This patch fixes this and sets SGX clock speed to 307 and 0 during Active Power Management transitions. Change-Id: I034927b9b94125ef388ab7d6e8bcc7e2615573b0 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25OMAP4: SGX-KM: Upgrade DDK to version 1.7.17.4403Hemant Hariyani
This patch upgrades the kernel side graphics driver to version 1.7.17.4403. The corresponding change in the user side must be in place for this to work. Change-Id: Id3a713fa22a227dbcd0ec098589d62b350802247 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25OMAP4: SGX: UDD: Fix potential OCP DSS error when flushing buffersGustavo Diaz Prado
This patch fixes sending an incorrect address to the DSS when the flushing buffers mechanism is triggered in the SGX display driver Change-Id: I9cb13d25fd5938ef69238c1d16871ac4ceab1687 Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-08-25SGX-KM: OMAPLFB: Increase the number of buffersRodrigo Obregon
This change increases the number of buffers in the flip chain created by the SGX. This change is required for the Full Screen Composition bypass. Change-Id: I996d78c03400eaa3ec8ce3c49d0f46d41a930f48 Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-08-25SGX: UDD: Avoid sending a black frame at initializationsayen mohanty
This patch removes the fb_set_var used when the flipping is being done with the DSS APIs. When the UDD initializes it asks the framebuffer if it can hold certain number of buffers, that call makes a transfer to the display of whatever contents are in the framebuffer (black at init time).This patch avoids such transfer. Change-Id: I04972ce1f9ac8b9b0f1a1232da01e1d68664dc53 Signed-off-by: sayen mohanty <sayenmohanty@ti.com> Signed-off-by: Gustavo Diaz Prado <x0083741@ti.com>
2011-08-25OMAP3: SGX-KM: Power lock functionsRodrigo Obregon
This patch re-defines the Power lock functions in the SGX driver specific for OMAP3, to make it compatible for DDK version 1.7.17.5967 Change-Id: I8b66a8c78cbee28e2d6a6d179128520d62a65c9e Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-08-25OMAP4: SGX-KM: Set SGX clock speedHaluk Aral
This patch correctly sets the SGX clock speed at the initialization stage of the driver. Change-Id: I3b9e28e148722ada1c0d58eba01d59d54a53072f Signed-off-by: Rodrigo Obregon <robregon@ti.com>
2011-08-25OMAP4: 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-08-25OMAP4: 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-08-25OMAP4: 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-08-25SGX: 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-08-25SGX: 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-08-25SGX: 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-08-25V4L2-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-08-25SGX-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-08-25OMAP4: 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-08-25SGX: 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-08-25SGX: 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-08-25OMAP4: 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-08-25OMAP4: 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-08-25OMAP/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-08-25SGX: 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-08-25SGX: 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-08-25SGX: 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-08-25OMAP3: 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-08-25OMAP4: 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-08-25SGX:KM DVFS ImplementationHaluk Aral
DVFS Implementation for SGX driver Change-Id: Ic85b2cd8c91c289984fff4ab804eb565506dd9cf Signed-off-by: Haluk Aral <h-aral@ti.com>
2011-08-25SGX-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-08-25SGX-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-08-25SGX: 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-08-25OMAP4: 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-08-25SGX-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-08-25SGX-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-08-25SGX-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-08-25SGX-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-08-25SGX-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-08-25omap2 panda hdmi audio use new resource schemeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25quench backend dai messageAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap dss hdmi uplevel include paths to 3.0Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap dss hdmi make hdmi default portAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap dss hdmi audio set as first cardAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap dss hdmi audio add missing makefile entryAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap dss use correct codec nameAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>