Commit Graph

99 Commits

Author SHA1 Message Date
Abdulla Anam e2c680c306 msm: vidc: Protect debug_buffer access in core_info_read with lock.
Serialize core_info_read with lock so that multiple concurrent
threads do not cause the write to overflow. Also have the bound
check to avoid overflow in write_str function.

CRs-Fixed: 2013361
Change-Id: Ia18a4b94cafd69af1d367861f2499fc202f18e9f
Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
2017-04-11 16:07:41 +05:30
Sanjay Singh 35f1fcaacc msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl
Hide kernel pointers from unprivileged ussers by using %pK format-
specifier instead of %p. This respects the kptr_restrict sysctl
setting which is by default on. So by default %pK will print zeroes
as address. echo 1 to kptr_restrict to print proper kernel addresses.

CRs-Fixed: 987018
Change-Id: I4772257a557c6730ecc0624cbc8e5614e893e9fd
Signed-off-by: Sanjay Singh <sisanj@codeaurora.org>
2016-08-10 12:41:41 +05:30
Deepak Kushwah 7b5ca4cd44 Revert "msm: vidc: disable CPU L2 cache PC during video sessions"
This reverts commit 8888d219c7.

Change-Id: Ibee9b0922d31b3fed4327a83d6f4e55fc77b5ee6
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2016-01-14 14:41:16 +05:30
Deepak Kushwah a020ff7016 Revert "msm: vidc: making qos_request variable per instance"
This reverts commit f51a7544ee.

Change-Id: I3599f5b853cf0213b8fd599782ff6dc16ea46092
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2016-01-14 14:39:09 +05:30
Deepak Kushwah f51a7544ee msm: vidc: making qos_request variable per instance
qos_request variable should be instance variable rather than global as
we want to raise the request for each instance and remove it on closing
of instance. Also modify the latency value to 332 from 1000 ms as per
system team recommendation.

Change-Id: I28138d0abcc3a724d7c116a12443fee6898ecb01
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2016-01-06 12:51:32 +05:30
Manikanta Sivapala 8888d219c7 msm: vidc: disable CPU L2 cache PC during video sessions
CPU L2 cache is being power collapsed and resumed during
video sessions which is consuming more power unnecessarily.
So disable CPU L2 cache power collapse during video sessions
using qos requests to save power.

Change-Id: Iaf47231bed1304510ea221b9d50866d3b4adfed0
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2015-11-26 06:43:22 -08:00
Linux Build Service Account 4a4044138a Merge "msm: vidc: Add VP9 decoder support on msm8956/76 version v1" 2015-10-30 05:50:23 -07:00
Maheshwar Ajja 6c6266c6ab msm: vidc: Add VP9 decoder support on msm8956/76 version v1
Video hardware on msm8956/76 version v1 chipset supports
VP9 decoder with a hardware limitation which requires
more voltage for a given video clock rate. So read
hardware version from efuse register and do necessary
voltage scaling by defining new VP9 decoder clock vs
voltage table in dtsi and use it when VP9 decoder
session is running.

Change-Id: I2824d64aa1abd7f2d3c1853d6f23f2d172bf3929
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2015-10-27 00:29:52 -07:00
Praneeth Paladugu 70cc2852fa msm: vidc: Remove compat ioctl definition from vidc driver
.compat_ioctl32 is used to support custom ioctls for 64 bit kernel
and 32 bit userspace. Since vidc driver doesn't have any custom
controls, remove the definition.

When userspace calls some fuzzy ioctls, V4L2 framework calls
compat_ioctl32 to corresponding driver from v4l2_compat_ioctl32.
If vidc driver defines compat_ioctl32 to be v4l2_compat_ioctl32
then v4l2_compat_ioctl32 function gets calls infinitely.
Hence remove the definition so that V4L2 framework returns failure
to ioctl caller.

Change-Id: I8d0e7afb14c4fd16e877145c603283cb936b82e2
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
2015-10-15 23:16:08 +05:30
Maheshwar Ajja 0768bffc4c msm: vidc: free registered buffers when closing session
Free the registered buffers when closing instead of stopping
session to avoid NULL pointer access error if client tries to
dequeue buffer while stopping session.

Change-Id: Iecce727fe7f5afc0287e38904beb5855a6e11e02
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2015-08-24 00:00:07 -07:00
Maheshwar Ajja 24be93cd2c msm: vidc: Increase power collapse timeout value
Currently video driver will power down the video hardware
if video hardware is in IDLE state for 2 seconds. This is
causing CTS testcase failure if power down sequence executed
within 5 seconds from the start of the video playback.
GDSC is expected to be turned off when power down sequence
executed from video driver but it is not because PIL driver
has 5 seconds timeout value to remove GDSC vote from PIL side.
Hence GDSC is not being turned off within 5 seconds from the
video start even though video driver executed power down sequence.
Increase the timeout value to 10 seconds from 2 seconds in
video driver to power down the video hardware which ensures the
PIL driver has removed its GDSC vote and resolve the CTS failure.

Change-Id: I5b79c793595ce7e19666a88cd39f0a08675e9382
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2015-02-05 15:17:18 -08:00
Arun Menon 99cab49e00 msm: vidc: Load firmware early only if early-fw-load is true
Load firmware early during probe, only if early-fw-load entry
is set to true in video dtsi. Also fix a race condition issue
related to ocmem allocation during early firmware download.
Video driver calls suspend immediatly after sys init done response
is received from firmware. The suspend call leads to triggering
power collapse immediately. During power collapse, venus hfi
detects there is no ocmem to unset. The ocmem gets allocated only
after the first power collapse is triggered. So the first
power collapse fails. In mean time ocmem gets allocated and
driver goes in to power collapse after two seconds. By removing
suspend call during early firmware download, we prevent the race
condition.

Change-Id: I33b0155faf14c11477a8c205c714ae429dc54550
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2014-10-31 10:55:11 -07:00
Arun Menon 9120f4eba0 msm: vidc: Load firmware during vidc probe
This change will load the firmware during v4l2 video driver
probe. If there are no active video sessions, then video
hardware will be power collapsed. On targets which can afford
to keep firmware always loaded in memory, this change will help
overcome the delay associated with loading firmware when a new
video session is instantiated.

Change-Id: I4f9981d8db4ff62d652628681bb58fa79ee9b7d4
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2014-10-14 14:22:04 -07:00
Linux Build Service Account 1a254c2c55 Merge "msm: vidc: venus_boot: Rework non-secure PIL driver" 2014-10-06 13:39:55 -07:00
Sachin Shah 55a916a35a msm: vidc: venus_boot: Rework non-secure PIL driver
Add checks for IOMMU presence around specific operations.
Set VBIF registers that are required when IOMMU is not
present. Use existing resources from vidc driver and avoid
duplication.

Change-Id: Id23a7a086ffe3ef8aa702560531c45b287b0be08
Signed-off-by: Sachin Shah <sachins@codeaurora.org>
2014-10-01 20:28:04 -07:00
Maheshwar Ajja 9e4d2d25fe msm: vidc: Add thermal mitigation feature
Thermal agent from userspace reports thermal level
value through sysfs node. Based on thermal levels,
video driver takes below action to avoid any further
overheating.
1. Normal thermal level(T0) is ignored.
2. Low(T1) or high(T2) thermal level is ignored for
   usecase running in nominal/svs clock whereas all
   video sessions are terminated for turbo usecase.
3. During critical(T3) thermal level, all video
   sessions are terminated.

Change-Id: I516761fc51e824b35957a85009de7f08b15d887c
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2014-09-30 20:56:53 -07:00
Linux Build Service Account 2914c1526d Merge "msm: vidc: Delay firmware unload during session close" 2014-07-16 03:59:36 -07:00
Vikash Garodia 3cf15df9a4 msm: vidc: flush queued work during device suspend
This change flushes any queued work related to power collapse,
once the device is power suspended.
There are applications which do not destroy video instance
on suspending the device. For such applications, if the device
is power suspended, video driver does not prepare venus for
power collapse.
Considerable power saving is observed by power collapsing
venus before the device goes in suspend state.

Change-Id: I11252e45b10d0d3d3eefb38994acd083c847bbb8
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2014-07-11 18:49:53 +05:30
Arun Menon 1f97647faa msm: vidc: Delay firmware unload during session close
Video driver loads and unloads firmware at the start
and end of each session. Firmware download takes up
to 100 msec. When there are many b2b video sessions
e.g. thumbnail generation, this is an unnecessary
overhead. To overcome this problem, video driver will
unload the firmware 10 secs after the session is closed.
If a new session starts during this period, it will not
be required to download the firmware again.

Change-Id: Ia515c3ed89c75ea9e43852958d1cbb2d77fe4c51
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2014-07-09 18:37:20 -07:00
Shalaj Jain 41caebbf89 msm: vidc: Add trace events
Add trace events for ETBs/FTBs, buffer allocation and mappings,
fw load times etc.

Change-Id: Ie57db1ddbad886e78f8d0a6e5eaac06206a6c53d
Signed-off-by: Shalaj Jain <shalajj@codeaurora.org>
2014-06-19 15:51:20 -07:00
Arun Menon f950a20cba msm: vidc: Fix race condition during concurrent sessions
The core->instances list structure is guarded by
mutex core->lock, whenever a new video instance is added
or deleted from the list. However this list was accessed
from certain functions without acquiring the lock, which
resulted in race condition, causing the device to crash.
Also clean up the core locking mechanism.

Change-Id: I6f431bc381d54948611783e19fac853c83a87203
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2014-05-06 11:23:50 -07:00
Deva Ramasubramanian 404690986e msm: vidc: Set a valid rc if PTR_ERR is 0
In cases where IS_ERR_OR_NULL() was true, the driver was forming the
return via PTR_ERR.  However if the OR_NULL part happens to be true,
PTR_ERR(NULL) would be 0, which would generally mean success.  So, if
PTR_ERR returns 0, assign a valid error code to rc.

Change-Id: I363c69963040074e7b97d85914ea168b8eba3ab3
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2014-03-21 18:24:52 -07:00
Shalaj Jain 96814b4b9f msm: vidc: Remove legacy board file usage
Remove using and parsing properties from board files.

Change-Id: Ife51e04ea5bb8857cce1220eb03ffd5237ec44a9
Signed-off-by: Shalaj Jain <shalajj@codeaurora.org>
2014-03-19 15:27:45 -07:00
Larry Bassel 9435beaa25 iommu: move iommu header files to new locations
Header files are no longer allowed in the directory
arch/arm/mach-msm/include/mach/ .

Move the iommu related header files to a more suitable place.

Change-Id: Ib7bbce1485d6185f669935b507040cac75368985
Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
2014-03-03 12:28:12 -08:00
Praneeth Paladugu 3b2b28da3e msm: vidc: Add support for compat IOCTL
Compat IOCTLs are used when Userspace operates in 32 bit
and kernel in 64 bit. The IOCTLs in V4L2 framework needs to
map to compat functions. Add support in driver to call compat
V4L2 framework IOCTLs.

Change-Id: I3f92e40d314e7717535193806259cef4eef99827
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
2014-02-10 15:52:48 -08:00
Ashray Kulkarni a4b3e25fb4 msm: vidc: add LTR support for video encoder
Enable LTR support for VP8 codec to add robust error resilience.

Change-Id: I3b87c5cdaef836a6d02d5b9fe71b7165b7f13581
Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
2014-01-14 21:31:55 -08:00
Linux Build Service Account 472316ba52 Merge "msm: vidc: NULL terminate devicetree match table" 2014-01-14 02:29:29 -08:00
Sachin Shah 32c87356d0 msm: vidc: NULL terminate devicetree match table
Without NULL termination, of_dev_lookup() can run
off the end of the array and looking at invalid data.

Change-Id: Ib7d8b3afdc76d3f196d620d47eb77d4e0bc74d53
CRs-fixed: 582111
Signed-off-by: Sachin Shah <sachins@codeaurora.org>
2014-01-03 11:54:36 -08:00
Arun Menon ca555f257e msm: vidc: change interface for opening driver instance
This change will ensure that vidc clients specify the
core id as venus or q6 to open a driver session.
Without this change, sometimes due to driver probe deferral,
core_id_0 would be taken by q6 and vidc clients intending to open a
venus decode session ended up opening a q6 decode session.

Change-Id: I4f9c862b8057999e4db7ca75be493138737a58a8
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2014-01-02 13:58:52 -08:00
Linux Build Service Account 4f255b258e Merge "Revert "msm: vidc: increase power collapse delay"" 2013-12-23 18:32:57 -08:00
Deva Ramasubramanian b8bb4b4b68 Revert "msm: vidc: increase power collapse delay"
This reverts commit a63cf09355. The commit
was a temporary hack to work around power collapse issues that have
since been fixed.

Change-Id: I74be8a1b163e814592056ca5556ace78a05b55f2
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-12-17 12:30:29 -08:00
Arun Menon 8f980a992e msm: vidc: defer probe if iommu_group_find fails
v4l2 video driver probe needs to defer till
iommu domains probe has been called. Without this
change, v4l2 video driver probe will fail if
iommu domains probe is not invoked prior to it.

Change-Id: Idbc1a4c90e558952f41f51ec96fdd3e7974490cd
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2013-12-12 21:45:12 -08:00
Laura Abbott 3bd8ec73d4 iommu: msm: Move iommu_domains out of mach-msm
The iommu_domain code isn't really MSM specific and is better suited
to live in the iommu directory. Move it accordingly.

Change-Id: Ie88b4aba6901722166bb180275d352b745821772
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-12-10 18:18:45 -08:00
Arun Menon a63cf09355 msm: vidc: increase power collapse delay
Temporarily increase power collapse delay to
a high number, in effect disabling it, to work around
stability issues.

Change-Id: I65d71c96081fa5eddffc5e91db2c65167dec59c7
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2013-12-05 15:54:18 -08:00
Deva Ramasubramanian a11413ac0c msm: vidc: Suppress false error messages
When parsing the device tree the driver emits false error messages when
optional properties are not found.  This commit gracefully handles the
absence of optional properties.

Change-Id: I34c58513e8fa62e6862b8c630814930554ff18fb
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-10-30 17:07:45 -07:00
Deva Ramasubramanian a36d3b9e42 msm: vidc: Clean up creation of debugfs entries
On chipsets where there can be multiple video cores, when setting up the
debugfs entries for the secondary cores, several debugfs_create_files
often fail because the driver attempts to create new entries with the same
file names.

This commit moves out a lot of driver specific entries to a new function
(msm_vidc_debugfs_init_drv) that's created during driver init and during
driver probe which might be called multiple times.

Change-Id: I9fee95acbe07244c558d6ede8539dfb67e2597dc
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-10-30 16:47:28 -07:00
Linux Build Service Account bf3f04b217 Merge "msm: vidc: Increase timeout for power collapse" 2013-10-25 08:19:13 -07:00
Vinay Kalia 548132c292 msm: vidc: Increase timeout for power collapse
Increase power collase timeout to avoid venus power
collapse before the video video/encoding decoding is
actually started. This is needed to avoid iommu map
failures at the beginning of the playback.

Change-Id: I05cade4f6464122d7f3c3b42b4976b9b7a33827f
CRs-fixed: 563706
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
2013-10-24 14:26:00 -07:00
Arun Menon 8d7c0b3d91 msm: vidc: move buffer handling inside msm_vidc
Dynamic buffer mode support will require buffer
handling support in vidc layer, rather than v4l2
layer.

Change-Id: I4732a09afc6b9dc279d7dbf28e362bf400e09cc9
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2013-09-24 22:08:36 -07:00
Arun Menon ac4b500afb msm: vidc: cache fix for output bufs
For Hybrid hevc codec, the output buffer contains
intermediate data. In case of cached buffers,
these intermediate buffers need to be invalidated before
they are sent to the dsp.

Change-Id: I08916b73ee7cbad8fc4de7831842056434d0e251
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
2013-09-12 15:21:22 -07:00
Sachin Shah db8495eacc msm: vidc: Make HW timeout and power collapse delay configurable
Provide debugfs node for HW response timeout and a sysfs device
attribute for power collapse delay.

Change-Id: I586f10f3e90df5384c8e465fbfe8e7ebec0915eb
Signed-off-by: Sachin Shah <sachins@codeaurora.org>
2013-09-10 18:08:01 -07:00
Deva Ramasubramanian a2e194aefa msm: vidc: Migrate to kernel 3.10
Migrate to kernel 3.10 which has contains minor changes in the
V4L2 interface:
- Driver needs to specify how it provides timestamps
- Driver needs to declare itself as a mem2mem driver so that
  certain ioctls are not masked out before reaching the driver.
- Vendor specific buffer flags have been changed as to not
  conflict with standard flags
- Controls that are of boolean type need to explicitly set the
  step to 1.

Change-Id: I1a38471d9ee0c74abe39ae7ce1a0f2912195db30
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-09-04 17:30:05 -07:00
Stephen Boyd aad60e152f msm_vidc: Use appropriate device attribute permissions
WARNING: at drivers/base/core.c:579 device_create_file+0x68/0x84()
Attribute transport: read permission without 'show'
Modules linked in:
CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W    3.10.0-rc5-gee3e35b-09314-g74557e3 #641
[<c0014220>] (unwind_backtrace+0x0/0x120) from [<c001212c>] (show_stack+0x10/0x14)
[<c001212c>] (show_stack+0x10/0x14) from [<c00841dc>] (warn_slowpath_common+0x4c/0x68)
[<c00841dc>] (warn_slowpath_common+0x4c/0x68) from [<c0084278>] (warn_slowpath_fmt+0x2c/0x3c)
[<c0084278>] (warn_slowpath_fmt+0x2c/0x3c) from [<c03445c8>] (device_create_file+0x68/0x84)
[<c03445c8>] (device_create_file+0x68/0x84) from [<c0408494>] (android_bind+0x120/0x2a8)
[<c0408494>] (android_bind+0x120/0x2a8) from [<c03f973c>] (composite_bind+0x88/0x18c)
[<c03f973c>] (composite_bind+0x88/0x18c) from [<c03f7a40>] (udc_bind_to_driver+0x54/0xd8)
[<c03f7a40>] (udc_bind_to_driver+0x54/0xd8) from [<c03f7b50>] (usb_gadget_probe_driver+0x8c/0xb8)
[<c03f7b50>] (usb_gadget_probe_driver+0x8c/0xb8) from [<c0421a30>] (android_probe+0x2a4/0x3c0)
[<c0421a30>] (android_probe+0x2a4/0x3c0) from [<c0347ca0>] (platform_drv_probe+0x14/0x18)
[<c0347ca0>] (platform_drv_probe+0x14/0x18) from [<c0346a38>] (driver_probe_device+0x130/0x31c)
[<c0346a38>] (driver_probe_device+0x130/0x31c) from [<c0346c84>] (__driver_attach+0x60/0x84)
[<c0346c84>] (__driver_attach+0x60/0x84) from [<c0345188>] (bus_for_each_dev+0x4c/0x80)
[<c0345188>] (bus_for_each_dev+0x4c/0x80) from [<c03458f4>] (bus_add_driver+0xd4/0x234)
[<c03458f4>] (bus_add_driver+0xd4/0x234) from [<c03471c8>] (driver_register+0xa0/0x138)
[<c03471c8>] (driver_register+0xa0/0x138) from [<c0c31864>] (init+0x24/0x9c)
[<c0c31864>] (init+0x24/0x9c) from [<c0008768>] (do_one_initcall+0xcc/0x180)
[<c0008768>] (do_one_initcall+0xcc/0x180) from [<c0c0029c>] (kernel_init_freeable+0xf4/0x1d0)
[<c0c0029c>] (kernel_init_freeable+0xf4/0x1d0) from [<c071ed18>] (kernel_init+0x8/0xe4)
[<c071ed18>] (kernel_init+0x8/0xe4) from [<c000e1b8>] (ret_from_fork+0x14/0x3c)

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-09-04 17:23:34 -07:00
Surajit Podder c1a57eceeb msm: vidc: Add logic to unregister input buffers
Unregister input buffers when reqbufs is called for input
port with zero buffer count.

Change-Id: I676fa0857d675ae45f4328b26c2f82d7397315b1
Signed-off-by: Surajit Podder <spodder@codeaurora.org>
Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
2013-09-04 17:19:59 -07:00
Deva Ramasubramanian 7841625b9c msm: vidc: Set buffer types properly in prepare_buf for encoder
Due to how HAL buffer types are tied into the secure hints, switch up
the HAL buffer types if the current session is of type encoder.

Change-Id: Idb74340ffad25278dd926c869745e235b4821ae3
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-09-04 17:12:01 -07:00
Eric Ho 0c37298bf5 vidc: move platform resource parsing out of v4l2
Keep v4l2 code cleaner by moving parsing logic to separate file.

Change-Id: I65999400ad4391caa396a2bdcc8494db1727bed9
Signed-off-by: Eric Ho <yinlokh@codeaurora.org>
2013-09-04 17:06:16 -07:00
Sachin Shah 50a18c8b99 msm: vidc: Register new nodes to support q6 hfi
Add support for different node values for simultaneous
venus and q6 usecase. This is needed to support HEVC
decode on msm8974, where venus and q6 both will be
present. Also create "link_name" device attribute
to provide a meaningful name to the video device
instead of video32, video33 etc. Userspace reads
this "link_name" sysfs node and creates appropiate
dev node symbolic link.

Change-Id: Iab14cad2c43b78eb7553ac78521611727597a42f
Signed-off-by: Sachin Shah <sachins@codeaurora.org>
2013-09-04 16:16:23 -07:00
Sachin Shah a5016c497e msm: vidc: Fallback to physical address in absence of IOMMU
Add necessary check to confirm absence of IOMMU and fallback
to physical memory address when IOMMU is absent.

Change-Id: I6957ce93392f67161f48371d5fc5ac74773886d8
Signed-off-by: Sachin Shah <sachins@codeaurora.org>
2013-09-04 16:16:14 -07:00
Deva Ramasubramanian 3d917f0bc9 msm: vidc: Determine the max supported load from device tree
Read the "qcom,max-load" parameter from the device tree to determine the
max support load for each target.  This allows us to do away with
the hardcoded max load with in the driver.

Change-Id: I9e874624b9209b53c7bd6d0524dd2c1314b485cb
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-09-04 16:15:06 -07:00
Arun Menon a9c4031938 msm: vidc: read video hardware capabilities
Read the video hardware capabilities and add
check for unsupported video sessions.

Change-Id: If3ea9400f92bccbf2e69de61b5aad3ff2673b905
Signed-off-by: Arun Menon <menon@codeaurora.org>
2013-09-04 16:10:33 -07:00