Age | Commit message (Collapse) | Author |
|
It's possible that the mem struct assignment inside of
the kernel list doesn't assigned properly (e.g. NULL), which
causes a deref crash during the free call.
Signed-off-by: David Sin <davidsin@ti.com>
|
|
If free_list is empty the element won't be assigned
to NULL. Causing issues when freeing the pages.
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
Signed-off-by: Bhavin Shah <bshah@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
|
|
This patch fixes the following kernel-hacking compile errors that are
present when the kernel-hacking for mutexes and spinlocks is enabled:
drivers/dsp/syslink/multicore_ipc/ipc_drv.c:76: error: braced-group
within expression allowed only inside a function
drivers/dsp/syslink/multicore_ipc/ipc_drv.c:77: error: braced-group
within expression allowed only inside a function
The fix is to change the DECLARE_COMPLETION_ON_STACK declarations to
DECLARE_COMPLETION.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
If there has been an MPU-side app failure and the message queue has
been deleted, then obj could be NULL in the local put part of
messageq_put. So, after setting obj, obj should be checked for
NULL-ness before being de-referenced.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Changing 755 file permissions to 644 proper ones
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
IPC uses the first 4 notify events for internal notifications. The Notify
reserved events should therefore be 4, and not 3. Otherwise, it would allow
the users to get notified and send a wrong value back using event 3.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
In ipu_pm_notifications the PID_DEATH/SUSPEND/RESUME
event is sent to IPU and a semaphore is used to wait
for IPU to respond. In the case when the send_event
is failing, there is no need to called the semaphore
and wait.
Also if one of the proc (SYS/APP) is not responding
an error is returned without sending the notification
to the other proc.
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Paul Hunt <hunt@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9-p2
|
|
Wrong adress was getting assigned to vma struct
So a dump was observed in FB with TILER buffers.
Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
|
|
Setting the DEVTMPFS_MOUNT option with default
value 'y'
This enable the mount of TMPFS.
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9-p2
|
|
v2: now protect fb_set_var() with console-sem to avoid making console
driver unhappy, and remove unneeded call to notify manager of the
resolution change
v3: change for updated notifier mechanism in dss, to make it work
properly in case there are more than one framebuffer.
Signed-off-by: Rob Clark <rob@ti.com>
|
|
A callback can be registered by the dssdev client in order to be
notified of resolution changes, for example an external monitor
that is hot-plugged.
Multiple clients can now register for notification from one
dssdev, and the notification mechanism can be extended in the
future to add other events.
Note that this patch supersedes the "OMAP4:DSS: add callback to notify
client of resolution change" patch.
|
|
When Ducati requests a resource to A9 the mpu wakeup latency
needs to be raised.
The mpu latency is set to IPU_PM_MAX_LAT when requesting
IVAHD and ISS and to IPU_PM_MIN_LAT when both are released.
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Paul Hunt <hunt@ti.com>
|
|
Signed-off-by: Mythri P K <mythripk@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24.9-for-P1
|
|
into L24.9-for-P1
|
|
Signed-off-by: Mythri P K <mythripk@ti.com>
Sujeet Baranwal <s-baranwal@ti.com>
|
|
Fix Compilation error after enabling CONFIG_OMAP2_DSS_USE_DSI_PLL
Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
|
|
|
|
Add Video For Linux dependency for FM driver in Kconfig.
This will fix the following errors in FM driver when V4L
is disabled in defconfig.
ERROR: "video_device_release" [drivers/staging/ti-st/fm_drv.ko]
undefined!
ERROR: "video_register_device" [drivers/staging/ti-st/fm_drv.ko]
undefined!
ERROR: "video_device_alloc" [drivers/staging/ti-st/fm_drv.ko] undefined!
ERROR: "video_unregister_device" [drivers/staging/ti-st/fm_drv.ko]
undefined!
ERROR: "video_devdata" [drivers/staging/ti-st/fm_drv.ko] undefined!
ERROR: "video_ioctl2" [drivers/staging/ti-st/fm_drv.ko] undefined!
Signed-off-by: Raja-Mani <x0102026@ti.com>
|
|
This patch adds a memcpy to proc4430_read and fixes the memcpy in
proc4430_write to have the proper source and destination pointers.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Allow thread detach ioctl command to go through even while recovering
from faults so that userspace thread can exit.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
The heapbufmp allocations are currently not tracked, and so any call
to getExtendedStats returns the wrong values. This patch enables
the tracking, and also fixes a minor bug with tracking in the
heapbufmp_alloc call. The bug is modifying the statistics in alloc
not based on the tracking flag.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9
|
|
This patch fixes the runtime PM APIs being called under
spinlock irq context in McSPI module during calls to omap2_mcspi_work()
This patch fixes the following warnings:
c02a0090>] (dump_stack+0x0/0x1c) from [<c005101c>] (__schedule_bug+0x60/0x70)
[<c0050fbc>] (__schedule_bug+0x0/0x70) from [<c02a06c4>] (schedule+0x84/0x4e0)
r5:c037df38 r4:c07cc8c0
[<c02a0640>] (schedule+0x0/0x4e0) from [<c02a1464>] (__mutex_lock_slowpath+0x174/0x1f4)
[<c02a12f0>] (__mutex_lock_slowpath+0x0/0x1f4) from [<c02a150c>] (mutex_lock+0x28/0x3c)
r8:00000001 r7:c037dd74 r6:dfd04400 r5:00000001 r4:c037df34
[<c02a14e4>] (mutex_lock+0x0/0x3c) from [<c003cf94>] (omap_hwmod_enable+0x20/0x40)
r5:00000001 r4:c038442c
[<c003cf74>] (omap_hwmod_enable+0x0/0x40) from [<c0043ef0>] (omap_device_enable_hwmods+0x24/0x44)
r5:00000001 r4:c038448c
[<c0043ecc>] (omap_device_enable_hwmods+0x0/0x44) from [<c0044118>] (_omap_device_activate+0x54/0x150)
r7:c037dd74 r6:dfd04400 r5:dfd04410 r4:dfd04400
[<c00440c4>] (_omap_device_activate+0x0/0x150) from [<c0044350>] (omap_device_enable+0x68/0x94)
r8:dfd044d0 r7:c039b128 r6:dfd04410 r5:dfd04410 r4:dfd04400
[<c00442e8>] (omap_device_enable+0x0/0x94) from [<c003e444>] (platform_pm_runtime_resume+0x2c/0x74)
r4:dfd04408
[<c003e418>] (platform_pm_runtime_resume+0x0/0x74) from [<c01d4110>] (__pm_runtime_resume+0x260/0x320)
r5:c039b1e8 r4:00000000
[<c01d3eb0>] (__pm_runtime_resume+0x0/0x320) from [<c01d4258>] (pm_runtime_resume+0x28/0x3c)
[<c01d4230>] (pm_runtime_resume+0x0/0x3c) from [<c01d429c>] (__pm_runtime_get+0x30/0x3c)
r5:dfd30348 r4:dfd3034c
[<c01d426c>] (__pm_runtime_get+0x0/0x3c) from [<c01db614>] (omap2_mcspi_work+0x30/0xd68)
[<c01db5e4>] (omap2_mcspi_work+0x0/0xd68) from [<c00692ac>] (worker_thread+0x154/0x1e8)
[<c0069158>] (worker_thread+0x0/0x1e8) from [<c006d048>] (kthread+0x88/0x90)
[<c006cfc0>] (kthread+0x0/0x90) from [<c005ada0>] (do_exit+0x0/0x5f0)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
omap_device: omap2_mcspi.1: new worst case activate latency 0: 208190917
Signed-off-by: Charulatha V <charu@ti.com>
|
|
This patch cleans the compilation warnings related to the
following files:
1) drivers/media/video/omap/omap_vout.c
2) drivers/video/omap2/dss/dss.h
3) drivers/video/omap2/omapfb/omapfb-main.c
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
Signed-off-by: Mythri P K <mythripk@ti.com>
|
|
The DSI external tearing interrupt is now used to invoke
taal_update using an internal workqueue.
This leads to taal suspend taking a long time as taal_update
holds the shared lock.
This patch disables tearing interrupt before the suspend path
tries to access the lock and resumes tearing in the resume path.
Signed-off-by: Archit Taneja <archit@ti.com>
|
|
On ES2.0, we get DSI EOT Sync errors at times, these
error checks are being temporarily removed for OMAP4
till the issue is rootcaused.
Signed-off-by: Archit Taneja <archit@ti.com>
|
|
|
|
Error : 'read_reg' used uninitialized.
Fixing by initializing 'read_reg' to '0'
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
|
|
This is to fix the following compile warning in procmgr_dr
> drivers/dsp/syslink/procmgr/procmgr_drv.c: In function 'proc_mgr_drv_ioctl':
> drivers/dsp/syslink/procmgr/procmgr_drv.c:582: warning: the frame size of
1328 bytes is larger than 1024 bytes
The compile warning is coming due to static declaration of proc_mgr_proc_info
structure. The fix is changing it do dynamic allocation.
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9
|
|
|
|
This patch would fix build warnings seen in building drivers/video/omap2/dss/core.c file
Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
|
|
This patch fixes the following KW defects present in the devh module:
1. Pointer 'pdata' returned from call to function
'devh_get_plat_data_by_name' at line 109 may be NULL and will be
dereferenced at line 112.
2. Pointer 'pdata' returned from call to function
'devh_get_plat_data_by_name' at line 128 may be NULL and will be
dereferenced at line 131.
3. Pointer 'pdata' returned from call to function
'devh_get_plat_data_by_name' at line 147 may be NULL and will be
dereferenced at line 150.
4. Pointer 'pdata2' returned from call to function
'devh_get_plat_data_by_name' at line 92 may be NULL and will be
dereferenced at line 95.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
|
|
Patch fixes a KW defect introduced with the addition of Tesla
support.
Signed-off-by: Suman Anna <s-anna@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/axelcx/kernel-display into L24x9
Conflicts:
arch/arm/configs/omap_4430sdp_defconfig
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/devices.c
arch/arm/plat-omap/hdmi_lib.c
drivers/Kconfig
drivers/Makefile
drivers/media/video/omap/omap_vout.c
drivers/media/video/omap/omap_wb.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/omapfb/omapfb-main.c
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/santosh/kernel-omap4-base into L24x9
|
|
The nofua parameter (optionally ignore SCSI WRITE FUA) was added
to the File Storage Gadget some time ago. This patch adds the
same functionality to the Mass Storage Function.
[Anand G] This patch was posted to linux-usb by Michal [1].
It is a valid fix, which is yet to be queued up.
[1] <http://marc.info/?l=linux-usb&m=128162788318279&w=2>
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Cc: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
|
|
The dev_attr_nofua file was created during fsg_bind() but
was never removed. Made it a bit more symmetrical and added
code to remove the file in fsg_unbind().
[Anand G] This patch was posted to linux-usb by Michal [1].
It is a valid fix, yet to be queued up for mainline.
[1] <http://marc.info/?l=linux-usb&m=128162788218265&w=2>
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Acked-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
|
|
This patch would fix compilation warnings in dss.c and dss.h file
Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
|
|
This patch would fix the compilation warnings in omapfb-main.c file
Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
|
|
Warning fixes for omap_vout.c and omap_wb.c
|
|
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
|
|
into L24x9
|
|
into L24x9
Conflicts:
arch/arm/mach-omap2/board-4430sdp.c
Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
|
|
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
|
|
git://dev.omapzoom.org/pub/scm/santosh/kernel-omap4-base into L24x9
|