Fix bus undervoting when turbo mode enabled.
Remove kbps_to_icc conversion as the calculated
bandwidth is already kBps.
Fix log printing for bandwidth unit.
Change-Id: I18a384f6d2f8914839af3eba84fd92953db3986c
Signed-off-by: Qiwei Liu <qiweil@codeaurora.org>
remove release of dpb buffers as part of start
of output port.
handle watchdog interrupt incase of page fault
Change-Id: Idaccbcaa92d4835dea2da3d8b6f645114baa338a
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Enable encoder input Compression Ratio (CR) stats.
Input CR stats are provided by clients for each input buffer
and used in bandwidth calculations.
Change-Id: Ibd910118837148b0b9dcc288069237f9a2d8f225
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
add RGBA and RGBA_UBWC color format support
for encoder.
Change-Id: I3e179ae9769d851afc5a6f11e1afb14d96e92073
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Initialize subscribe params for colorspace using OUTPUT
port params and use right mapper function
Change-Id: Ie6be50c1de20e351bad0fc4b015bcc4d72d1711b
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Use qti dma mapping header file to use qti
specific dma attributes.
Change-Id: If755c0df22a59af764d2b55a236dfe18bc265f54
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Add resume function call to power on the device before
unloading the firmware.
Change-Id: Ic2e4e74d01f9e5e61353a0ff07955ebd1358efc4
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
read input width and height and update
output resolution based on client set
color format.
Change-Id: I5605eb875ca679c671d083ca691b046769279ce5
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
subscribe for picture type property on output
port for decoder.
Change-Id: I4354f47777ca51a257f8ab85e9cb85faddad0099
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
- Add support for a new non-secure pix context bank.
- Remove usage of deprecated 'buffer-types' in context banks.
Change-Id: I3a21eb8ce1d9aff277568d54aadb54193ad0ce75
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
update hfi command header file to include
release done flag and related hfi buffer flag
changes. add functionality to release and
unmap buffer if this flag is sent by fw.
Change-Id: I03fdd7776fcd6ac5e8a147c7dff2dfb6a15250e9
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
- add DPB tag list capability in database
- subscribe in metadata mode for the dpb tag list
property if enabled
Change-Id: Id4b9b7392b7b26cccf0860d578b8a0cb8d798d04
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
update input port sizeimage for a decode session
during set control of bitsream size overwrite
control.
Change-Id: I4cb7d6c8d416f187e1ac557d3b423acfdbcb7a60
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Allow output settings (reqest buffers, set format etc) in
MSM_VIDC_DRAIN_START_INPUT state because output port is
streamed off already.
Change-Id: Ia00451a4cc85f3fe05820721235661bfe2d3de04
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Add support to set HFI_PROP_NAL_LENGTH_FIELD property to
video firmware.
Change-Id: I20db36bad394fe0b5163a156199340836af3f740
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
With best fit configuration, the probability of getting
a mapping for video buffer increases even when the system
is fragmented.
Change-Id: I8689447ce1341fd1189b543eb9fb6a2e03edcc94
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Add support to set default fps to video fw.
Change-Id: I5074b5379c8bca273e098a3375f2c949b0656ae8
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Initialize subscribe parameters before input port settings
change event from firmware to avoid uninitialized subscribe
params usage in video driver.
Change-Id: I39a1e6646a845836a406193ace7a5fb71edee192
Depends-On: I07c7c8b4faaccc896249b2da84148ec05c2047da
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
As per HFI_PROP_CODED_FRAMES details, 0x0 is field interlace,
0x1 is progressive and 0x2 is adaptive frame field bitstream.
Treat 0x1 as progressive and both 0x0 and 0x2 as interlace in
driver.
Change-Id: I07c7c8b4faaccc896249b2da84148ec05c2047da
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>