summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-15OMAP USB gcc4.6 usb fix2.6.38-2011-06Khem Raj
https://lists.yoctoproject.org/pipermail/poky/2011-June/006646.html Signed-off-by: Andy Green <andy.green@linaro.org>
2011-06-15config enable cpu freq to test clock patchAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-06-15After resume the HDMI/DVI output was still blank. It turns out thatKan-Ru Chen
framebuffers have to be reconfigured so the output is activated again. Signed-off-by: Kan-Ru Chen <kanru@0xlab.org>
2011-06-13OMAP3: set the core dpll clk rate in its set_rate functionAvinash H.M
The debug l3_ick/rate is not displaying the actual rate of the clock in hardware. This is because, the core dpll set_rate function doesn't update the clk.rate. After fixing, the l3_ick/rate is displaying proper values. Signed-off-by: Shweta Gulati <shweta.gulati@ti.com> Signed-off-by: Avinash.H.M <avinashhm@ti.com> Cc: Rajendra Nayak <rnayak@ti.com> Cc: Paul Wamsley <paul@pwsan.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-06-13omap4 sgx uplevel pvr drmAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-06-10omap4 sgx fix console lockingAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-06-10From 0126387f5c236059224ff69a814877a0e2cf88e1 Mon Sep 17 00:00:00 2001Hemant Hariyani
Subject: [PATCH 5/5] OMAP4: SGX-KM: Enable DRM support in SGX Driver This patch enables DRM support in SGX driver. Change-Id: I346589d12ef685a4b33b56842d86fcf8c5fdc718 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-06-10From ce8358311c9b293e7fa2a3ba2dd3c66c96028964 Mon Sep 17 00:00:00 2001Hemant Hariyani
Subject: [PATCH 4/5] OMAP4:SGX-KM: Adding DRM support to 3PDD This patch adds DRM support to 3rd party display driver. As a consequence, omaplfb sysfs entries do not work anymore and need to be reworked. Change-Id: I2af145d15138ee441c3708ec40fb8bea7a9a70bd Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-06-10From b98b245610738154e1ded489245cc9de14bad104 Mon Sep 17 00:00:00 2001Hemant Hariyani
Subject: [PATCH 3/5] OMAP4: SGX-KM: Correct device name for Android kernel Currently, Android kernel uses pvrsrvkm device name.This was being set to omap_gpu and hence DRM initialization fails. Setting SYS_SGX_DEV_NAME correctly to pvrsrvkm. If changed in kernel, this should be changed again. Change-Id: I25ab8ce865ecc19df3398ad2dd05a58a063e0686 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-06-10From e9a0480ac0956d702040d5b422ce8886cf2a0888 Mon Sep 17 00:00:00 2001Hemant Hariyani
Subject: [PATCH 2/5] OMAP4: SGX-KM: Fix PVR_BUILD_DATE PVR_BUILD_DATE was not being assigned. This patch fixes it. This is required for DRI/DRM based SGX driver. Change-Id: I6df3b1237b223a392b5c91bfffa4897906b997e8 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-06-10From 37e219cfd48dfbd0628dc35e2f2bd6fdb95135c4 Mon Sep 17 00:00:00 2001Hemant Hariyani
Subject: [PATCH 1/5] OMAP4: SGX-KM: Adding PVR DRM files to Android DDK KM (1.7.17.4403) These files are required for DRI/DRM based implementation of the SGX driver. Change-Id: I513e31ab8d4c6efdcfb56dde8a485f51576ebeca Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-06-10sgx defeat clock disableAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31config update for sgxAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX differentiate between android kernel buildAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX uplevel init_MUTEX to sempahore_initAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX fix declare mutex to define semaphoreAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX adapt physical addresses in cache opsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX add outercache includeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX null out manual overlay update stuff that has goneAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX fix workqueue allocationAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX adapt console sem to console_lockAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX only use earlysuspend if configuredAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX remove config.h referenceAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX fix omap_device_set_rate argsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-05-31SGX-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-05-31SGX-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-05-31OMAP3: 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-05-31SGX-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-05-31OMAP4; 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-05-31OMAP4: 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-05-31OMAP4: 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-05-31OMAP4: 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-05-31OMAP4: 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-05-31SGX-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-05-31SGX: 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-05-31OMAP3: 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-05-31OMAP4: 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-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>