- destroy enc internal buffers when firmware returns these
buffers after its usage.
- fix some incorrect log masks that result in false error
logs.
Change-Id: I4707e915b725769bbbaa0a2c4c4e0d9cd10805a4
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
If required, Firmware can be unloaded after every session.
Power collapse is enabled by default.
Change-Id: Ie014a26ae600816d8713cd34826f1f9a77088e4a
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
Use hashed value for session id to over come the
same session ids being used concurrently where
one session is being closed and the other session
opening might be getting same session id.
Change-Id: I0bba056f26e404a7ff3b92ca9a81e673a0a6802f
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Decoder full reconfig testcase timeouts and fails with
fw logs disabled. Set only interrupt required flag without
response required flag for HFI_CMD_BUFFER to fix this issue.
Change-Id: I5509372fe34cbea8a62d7d9cb7f541ee2d6e1e15
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Add support to deduce min, max, frame qp values from client set
controls and set the same to video firmware.
Change-Id: Id94e781cc0c8afdf0e9e00562bdaea32db04fd74
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
- Set correct metadata buffer sizes/counts in initialization.
- Update metadata buffer sizes/count when a metadata control is set.
Change-Id: Ib695b267efac26caa5858cdcdec1868d85182b90
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
Iris2 specific calculations for Work Mode and Route.
Also add quality mode support.
Change-Id: I7a1e2fa27236aa749978d146d85fd0af6177084c
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
Add below support
- kill session in case of errors
- core deinit in case of timeout errors
- flush buffers in streamoff
- decide supported colorformats based on
bitdepth and interlace info
- print level based logs
Change-Id: I45b9b0eae4220a818de23308da8802a9e12ae255
Signed-off-by: Maheshwar Ajja <majja@quicinc.com>
Add support for some advance controls to set adjusted
client set values to video fw. Mentioned below
are the properties added.
- HFI_PROP_LTR_COUNT
- HFI_PROP_LTR_USE
- HFI_PROP_LTR_MARK
- HFI_PROP_IR_RANDOM_PERIOD
- HFI_PROP_AUD
- HFI_PROP_TIME_DELTA_BASED_RATE_CONTROL
- HFI_PROP_8X8_TRANSFORM
- HFI_PROP_LTR_MARK_USE_DETAILS
- HFI_PROP_DEBLOCKING_MODE
Change-Id: Id31e9774154556df7c66cda366913489815a2723
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
move msm_midia_info from uapi to core video
driver folder.
Change-Id: Ibe7eb898fd40958577a8b1afa46c46ea3c6a2ddf
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Revert disabling CP memory protection for secure non
pixel cb to avoid firmware hang issue for enc session.
Change-Id: I93260691d9504b33fc8f88a28fb81e66c9d24ce4
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
- Move driver to MSM_VIDC_DRAIN state when drain command
is receieved for an encoder session
- Static HFI_PROP_FRAME_RATE setting to video fw handling
is moved to inst database set function via
msm_vidc_set_v4l2_properties to avoid enc session failure
due to setting HFI_PROP_FRAME_RATE before starting video fw
Change-Id: I207b4bce932c5959fe47b9cca32abd15660ce2a9
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Avoid sending subscribe or delivery comannds to firmware
when no metadata is enabled by client.
Change-Id: I379aa018b676ebc9b7e327757213371dbf089d53
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
Add support for S_PARM and G_PARM to enable client to
set and get frame rate and operating rate to driver. Also
includes some inst database grooming changes.
Change-Id: I5b39537662faa56effa0ac63acdfc100d83bf403
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Enable delivery and subscriptions of various metadata based
on client settings. Also, skip instance state changes during
metadata port streamon/streamoff.
Change-Id: I063b562818c661bf1932c3362ecb709d7fe6bc20
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
- post input psc, output psc and last flag
events to response work handler
- fix issue with release and create internal
buffers during input psc
- clear last flag after session continue
Change-Id: Ic0278a09a0f6ee8ffff8840a47cd80c046ecadc4
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Use STAGE_1 work mode and HFI_SEQ_HEADER_JOINED_WITH_1ST_FRAME
as header mode as default values to avoid firmware sync issue with
enc HEVC NV12_UBWC session.
Change-Id: If15c743ec8f9d34e6ec878e4fbbedd20f7bb4e73
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
- update basic functionality controls with their parents
and children list.
- deprecate MPEG2 related code.
- rename driver internal color formats.
Change-Id: I918d6fd238486098f10c5b9ce40c895bcd9468e5
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
Add support for all the required instance states and
move the states accordingly.
Change-Id: Iac1046ab8c7a0116df6ed3069d566c7a1b65e61c
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Add support to get and set selection to update
crop and compose values in driver.
Change-Id: I1f38ac6a4f3ceac64d08d66f30b422efd79959a9
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>