Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
DVFS Implementation for SGX driver
Change-Id: Ic85b2cd8c91c289984fff4ab804eb565506dd9cf
Signed-off-by: Haluk Aral <h-aral@ti.com>
|
|
Re-submit due to http://review.omapzoom.org/#change,7359 over write it
Signed-off-by: Eric Luong <x0119002@ti.com>
|
|
Upgrading kernel side DDK to version 1.6.16.3924.
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
|
|
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>
|
|
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>
|
|
For L27.7.1 Graphics hand off
Signed-off-by: Eric Luong <x0119002@ti.com>
|
|
For L27.7.1 Graphics release
Signed-off-by: Eric Luong <x0119002@ti.com>
Change-Id: I88aa53bad1b38da196bb094d2c62492609408687
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Keyboard support for SDP OMAP4430
Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Enable pm runtime in driver
Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
Register keyboard device with hwmod framework
Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: Sebastien Jan <s-jan@ti.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Adding the 2 controllers identification within the driver
Signed-off-by: Abraham Arce <x0066660@ti.com>
|
|
Add Synaptic TM12XX touchscreen driver
Signed-off-by: Abraham Arce <x0066660@ti.com>
|
|
|
|
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>
|
|
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>
|