summaryrefslogtreecommitdiff
path: root/include/uapi (follow)
Commit message (Collapse)AuthorAge
...
* | | | mdss: mdp: Add support for partial panel updatesJeykumar Sankaran2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change programs MDP only for the output resolution (ROI) set by the client. All staged pipes are cropped to fetch data only for the resolution programmed. Change-Id: I1e113fd051a01d8fc1247a74d363a26cd9a0cd61 Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
* | | | msm: mdss: MISR based CRC validationMayank Chopra2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MISR allows a CRC to be generated from contents of a particular hw block which can be used for validation. Enable setup of misr and APIs to obtain CRC from hw blocks. Change-Id: Ib07e31cba45d242922bd28b6b306220efece7b8d Acked-by: Sachin Bhayare <sbhayare@qti.qualcomm.com> Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
* | | | mdss: hdmi: HDCP TopologyAjay Singh Parmar2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change provides a mechanism to communicate with HDCP manager to share the downstream KSVs to upstream HDMI devices. Change-Id: Ib0d772d157af65b2f35c9b7e7cebe8d0e1670735 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* | | | msm: mdss: Add support to YCBYCR MDP formatRamkumar Radhakrishnan2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to MDP_YCBYCR_H2V1 interleaved YUV format. Change-Id: I3b4fccf8303db778af213feb03644e5600ee803f Signed-off-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
* | | | msm: mdss: Add rotator sync point support in mdssJayant Shekhar2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently rotation activities are blocking and hence hurt the performance. So, make the calls asynchronous and use sync point to realize this. Change-Id: I677097fcaf133b0ed67ae94cfeacf3a0a10bc579 Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org> [cip@codeaurora.org: Updated sync.h/sw_sync.h include] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | | msm: mdss: enable overfetch in dual pipe scenariosAdrian Salido-Moreno2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overfetch is disabled on the borders of videos to avoid picking up padding which may result in greenish border on right and bottom. However this has side effect for dual pipe cases where overfetch is required for smooth scaling effect in the middle of image. Add a flag to catch these cases and enable overfetching in the middle. Change-Id: I2545dbdab2c0643986fefa85990e9e820e4c3611 Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
* | | | msm: mdss: Add support for macro tile formatsShalabh Jain2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDP now supports tile formats on APQ8084. Macro tile formats are aligned with number of memory banks and access channels to improve performance. Change-Id: Ie566cc12b38f81d111f378f19883433bcc71fa48 Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
* | | | msm: mdss: Add plane alpha supportMayank Chopra2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up the blending rule to follow blend_op set from hwc. Use modulate alpha for plane alpha when it is not 0xff. Change-Id: Iad7217563bcae5e89fe8e50954494f6afdcb8e79 Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
* | | | msm: mdss: support enter/exit DCM for calibrationArpita Banerjee2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change supports the enter/exit DCM for calibration tool. It blocks the unblank operation if target is in DCM (Display Calibration Mode). Change-Id: If65449b9863bb1f9ca0346d736b6939261d1394e Signed-off-by: Arpita Banerjee <cabane@codeaurora.org>
* | | | msm: mdss: Add support for BGRA and BGRX as writeback output formatPawan Kumar2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to get and set BGRA_8888 and BGRX_8888 as writeback output format using metadata_ioctl. Change-Id: I093824229d09b89433aaceffe585fb2d3e2b9e10 Signed-off-by: Pawan Kumar <pavaku@codeaurora.org>
* | | | msm: mdss: Add read/write buffer support for calibraiton toolArpita Banerjee2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows to process read/write operation through buffer instead of single IOCTL call. It is part of optimization to save DIAG packet processing time. Change-Id: Iffaab2dd160959f8c7950ebca043b1e0cf25877c Signed-off-by: Arpita Banerjee <cabane@codeaurora.org>
* | | | msm: mdss: Add absolute backlight control for assertive displayCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow for assertive display to disable backlight updates (except for updates to turn off display) as an option for automatic backlight mode. If backlight updates are not prevented, flickering can occur when automatic backlight mode is enabled and system tries to update backlight value due to assertive display block controlling backlight values. Change-Id: I250167e3387e3fbc795f7dfe9fc5f20398d6ca8c Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | msm: mdss: Update notify returns notify stateCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change update notify ioctl to return a value describing the state that caused the update. Change-Id: I407c73c7b5c24e36410545175cb8723b4c10971e Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | msm: mdss: Enable assertive display backlight calibrationCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow for assertive display to set the backlight level in calibration mode. Change-Id: I990c4a191410614bec2d615baaae1a2a34cc48e5 Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | msm: mdss: Initial calibration mode implementationCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable calibration mode to be set via framebuffer ioctl. Change-Id: I50e7f652b23180553e1706975e7cbffce68ddf55 Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | mdss: ppp: add sync point to ppp, allowing for async ppp blitTerence Hampson2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a requirement that PPP be async and should use sync points and fences to wait for buffers and communicate that it is done using release fence Change-Id: I35663737dd4bd4a52bb12b2a31ed06f3d5a69f31 Signed-off-by: Terence Hampson <thampson@codeaurora.org> [cip@codeaurora.org: Updated sync.h/sw_sync.h include] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | | msm: mdss: Add assertive display backlight linearity LUTCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide assertive display a means of linearizing backlight luminosity. Change-Id: Ie39b087f9d5f5e7367fa786945f16af9738e98a6 Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | msm: mdss: enable misr blockSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MISR allows a CRC to be generated from contents of a particular hw block which be used for validation. Enable setup of misr and APIs to obtain CRC from hw blocks. Change-Id: Ic755ab146d8f1223f015346bd0263d054dc0d832 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | | msm: mdss: hdmi: add support for vesa formatsManoj Rao2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for VESA formats at pixel frequencies of 65MHz and 108MHz. These pixel frequencies are required to support VESA(DVI) video formats, in particular, add support for 1024x768p and 1280x1024p video formats. These formats are supported on many existing monitors. CRs-Fixed: 438028 Change-Id: Ibe55648f32fface8ab310a431e9fb670085a86f7 Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
* | | | msm: mdss: Move assertive display calculation to vsyncCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assertive display calculations should be done every vsync to ensure that the strength and backlight values are up to date. DSI command mode panels are not supported currently. Change-Id: If615ed1b48a496f39bf6780ea936d9bc31275415 Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | msm: mdss: Move assertive display calculation to workqueueCarl Vanderlip2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the possible case of delaying display_commit completion. AD_input ioctl returns with last strength/backlight values calculated to aid in management of AD feature from userspace. Change-Id: I4c9a2941deece8f406b19b6b206c9fadf4f7250a Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
* | | | msm: mdss: Enable Decimation during fetchSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decimation is a new mdss hardware feature that facilitates display of images with width larger than 2048 through a single pipe. It enables display of high resolution images on multiple interfaces simulatenously. Also, the presence of this hardware feature needs to be exposed to userspace so that the usecase can be supported. Change-Id: I433db46c9f026b4c124ae73d10f1827144631934 Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | | msm: mdss: Expose bandwidth compression capability to userSree Sesha Aravind Vadrevu2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The userspace needs to be aware of the presence of bandwidth compression use case which is a new hardware feature Change-Id: I02ec320a2ab9add78000df0459c8095c8f8505fb Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
* | | | msm: mdp: Move wfd state signalling into mdp driverDeva Ramasubramanian2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the WFD driver was reponsible for signalling the online/offline events to userspace listeners. This led to redundant notifications due to the manner in which the WFD driver is used. The signalling is better purposed when done from MDP driver. Change-Id: I2248de84d57504c2fa9f26e1bfdf0e0d4a02257a Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org> Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> [cip@codeaurora.org: Moved new file locations, add stdint.h include to uapi/linux/msm_mdp.h] Signed-off-by: Clarence Ip <cip@codeaurora.org>
* | | | ASoC: wcd: Add Audio codec drivers for MSM targetsSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot of audio codec drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level- AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | | ASoC: msm: Add Audio drivers for MSM targetsSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add snapshot for audio drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level - AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | | ASoC: msm: qdsp6v2: add support for ALAC and APE offloadSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ALAC and APE to supported offload formats and send media format block for both formats through compress driver. Change-Id: I22b7cf38684250d2f8d6f9aefcd43452bb18e7f9 Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | | ASoC: msm: fix integer overflow for long duration offload playbackDhananjay Kumar2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32 bit variable is used for storing number of bytes copied to DSP, which can overflow when playback duration goes beyond 24 hours. Change data type for this variable to uint64_t, to prevent overflow and related playback anomaly. CRs-Fixed: 877677 Change-Id: Ie4dfa630cf89559bb784d4712c52526665baeca6 Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
* | | | ASoC: msm-compr: Fix possible array out of boundsBhalchandra Gajare2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add check to avoid possible array out of bounds in function msm_compr_send_ddp_cfg. CRs-fixed: 925138 Change-Id: If3915565bdea998404854bd73ff7dafb8a2b23b0 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
* | | | ALSA: compress: Add support to send codec specific dataAlexy Joseph2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Codec specific metadata is sent only for first stream in gapless playback. This causes incorrect configuration to be set for second stream and distortions are observed due to framedrops in adsp. Add support to send codec specific format during start of next stream in gapless using set_next_track_param. Change-Id: Ieec6b2afedec156e47873efcad9b3571160b0a29 Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Alexy Joseph <alexyj@codeaurora.org> Conflicts: include/sound/compress_driver.h
* | | | ASoC: msm: qdsp6v2: Handle additional codec specific metadataAlexy Joseph2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Codec specific metadata is sent only for first stream in gapless playback. This causes incorrect configuration to be set for second stream and distortions are observed due to framedrops in adsp. Add support to send codec specific format during start of next stream in gapless. Add bit rate to wma codec data structure as it can vary between streams in gapless. Change-Id: I39f34ea1addff720612fe3e06257e7d75889e574 Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org> Signed-off-by: Alexy Joseph <alexyj@codeaurora.org> Conflicts: sound/soc/msm/qdsp6v2/msm-compress-q6-v2.c
* | | | ALSA: audio_codec: add hwdep interfaceSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds hwdep interface for codec calibration. currently codec driver uses request_firmware to get calibration data but as this firmware file is also written by userspace process after bootup, it is not recommended to use request_firmware. ALSA core provides mechanism to get hardware dependent data using hwdep nodes. Codec will use aforementioned nodes to get calibration data from userspace. Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | | ASoC: msm: qdsp6v2: Handles additional flac metadataSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, metadata such as min/max block size is sent only for first stream in FLAC gapless playback. This causes incorrect configuration and, subsequently, framedrops in decoding of second stream and onwards By sending these additional flac metadata, dsp receives stream-wise metadata and decodes without dropping Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | | ASoC: msm: qdsp6v2: Add support for HDMI passthroughBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for compressed bitstream passthrough over HDMI for DD/DDP contents. Use compressed driver to support passthrough. Change-Id: I01f9e4fa984a1f45d1f4de5250bed8f95d2a2dd0 Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: qdsp6v2: Fix bit alignment in snd_codec paramsBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pointer member variables in snd_codec params break bit alignment and causes data corruption. By changing these pointers to fixed size array variables, the bit alignment is rectified. The size has been set to max possible size. Also, remove params which are not required anymore. Change-Id: Ib87bbeb07b0df1ce8a81166b319976fe54c0f013 Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | revert: ALSA: compress: update struct snd_codec_desc for sample rateBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gerrit reverts the gerrit with the commit number- b8bab04829ab190f71921d4180bda438ba6124ae Now that we don't use SNDRV_PCM_RATE_xxx bit fields for sample rate, we need to change the description to an array for describing the sample rates supported by the sink/source Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Add compressed TX supportSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is use case that the HDMI input goes through MI2S TX interface to ADSP. Add compressed TX support for this use case. Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
* | | | ASoC: msm: qdsp6v2: Add FLAC in compress offload pathBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FLAC format in compress offload driver, and asm module Change-Id: I818ace8397e761b1acff7f9b2eab6e0103ed78c8 Signed-off-by: Apurupa Pattapu <apurupa@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Add support for WMA DSP decodeBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WMA V9 and WMA Pro tunnel-mode supports are added to compressed driver. It allows user-space application to decode WMA V9 and WMA Pro audio stream through QDSP6. Change-Id: I99407d00b618a627e6d762be9abea4abd2410b8b Signed-off-by: Manish Dewangan <manish@codeaurora.org> Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ALSA: compress: Update compress audio paramsBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add timestamp field to compress structure which indicates when audio sample has been captured or needs to be rendered. Change-Id: Ie61170c6645c71207e7df1c7176e0750e47590f8 Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Add support for AC3 and EC3 playback in tunnel modeBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dolby surround1-DS1 module supports both Dolby Audio processing - post processing and Dolby digital plus decoder in DSP. Add support for AC3 and EC3 playback in tunnel mode so that DS1 is integrated and functional end to end. Change-Id: Iacb46cdfded16c9a5a9227a6ff4e072c61df2be8 Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Implementation of transcode from MP3, WMA to DTS compressedBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the output path of the decoder output of the compressed format to input of the pseudo port. Output of the pseudo port is connected to the input of DTS encoder. Output of the DTS encoder is connected to the selected output ports SPDIF, HDMI. Change-Id: I3945e53fdfd57de47fb2209ddc81ba4623999028 Signed-off-by: Aviral Gupta <aviralg@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: DTS_LBR Passthrough SupportBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added DTS_LBR for Passthrough case in Compress Driver - Added Graceful Error Handling for Unsupported Codec IDs in case of open_write_compressed. Change-Id: Ifbecb02832a2599be0e3c73cc69381f87969d78a Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Add the support for the MP2 decoderBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support the MP2 as a format for the tunnel mode. MP2 format to be decoded in the DSP. Change-Id: I0d268a6ddb57b1470ee2c43449ac31520176232f Signed-off-by: Aviral Gupta <aviralg@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm : DTS security implementationBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Receive DTS security modelId from userspace, and supply to Q6 core service. Change-Id: Ib50f3a81da60c92ceb5b521134cd3d1b6fb8e5cb Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Enable PCM capture in compressed driverBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the use case of HDMI input PCM capture, timestamp received from DSP is required in userspace to propogate it on the playback path. Timestamp mode propagation is availble through the meta data mode in compressed driver. Add support for PCM capture in compressed driver to address the usecase Change-Id: I1221b8e99628dadc136df681619ed960ff7c5c1a Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | SoC: msm: Add support for meta data in compressed TXBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a usecase where compressed data is sent over HDMI IN to ADSP. The format of compressed is detected in ADSP and sent through the meta data to compressed driver. Add support for meta data in compressed TX for this use case. Change-Id: Idbb18fe4a0ad828e9c2e9d7beec048b3cedf002d Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: DTS playback supportBanajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compressed driver changes for the DTS support Change-Id: I595e638da78cced02142f4ee430afb7357eb336c Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | ASoC: msm: Update the encode option and sample rate.Banajit Goswami2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Populate the sample rate, encode option in wma config params. CRs-Fixed: 367243, 367242 Change-Id: Ieeb9d302454d3935faa51cac77021e7c1d77012c Signed-off-by: Aviral Gupta <aviralg@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* | | | soc: Add audio backend to hwdep interfaceSudheer Papothi2016-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add audio backend to hwdep interface. This is to provide ioctl interface to communicate to routing driver. Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>