Commit Graph

512 Commits

Author SHA1 Message Date
Darshana Patil
70e7d6b0ba msm: vidc: move cbr plus variable to legacy cbr
Move cbr plus variable to legacy cbr variable as
it is interfering with CVP usage.

Change-Id: If31f49858486e4295e7dfd9f47175e23c4078200
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2019-05-13 10:34:23 -07:00
qctecmdr
95c67930db Merge "msm: vidc: Handoff regulators after firmware loading is complete" 2019-05-11 10:55:17 -07:00
qctecmdr
4d559a875a Merge "msm: vidc: remove structure vidc_hal_session_init_done" 2019-05-10 21:59:53 -07:00
qctecmdr
345a89500d Merge "msm: vidc: fix in UBWC LP5 Configuration" 2019-05-10 21:59:53 -07:00
Chinmay Sawarkar
1277141e60 msm: vidc: Handoff regulators after firmware loading is complete
Regulator handoff causes the GDSC to turn off momentarily and resets
internal registers. As a result, TZ is unable to program secure
registers during Secure PIL load fails. Moving the handoff after
PIL load allows proper secure register programming and enables
secure sessions.

CRs-Fixed: 2450296
Change-Id: I32c7bf8726b51fdfa73b40819e8fdccdbbc0abe3
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2019-05-10 14:39:59 -07:00
Maheshwar Ajja
8a68da653d msm: vidc: remove structure vidc_hal_session_init_done
The structure vidc_hal_session_init_done is not being used,
so remove it.

Change-Id: Id4a577db117f98b18439245907765be5c9badc83
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2019-05-09 11:11:59 -07:00
Akshata Sahukar
a571bf18b7 msm: vidc: fix in UBWC LP5 Configuration
Default UBWC configuration for LPDDR5 is corrected.
Highest Bank Bit is set to 16.

Change-Id: I0fb18279ae32d34a7f3bada6d05a72c5935430dd
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
2019-05-09 00:12:33 -07:00
Maheshwar Ajja
da72739ed0 msm: vidc: remove TME format from supported formats list
video driver does not support TME format, so remove it.

Change-Id: Ica7656fc1758a007f0d20d0351a4cedb82b9a0ee
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2019-05-08 15:19:34 -07:00
Darshana Patil
954a066aac msm: vidc: Fixed LTR count capability
Kona target supports two LTR frames encoding.
Fixing this capability in kona driver.
Handle resolution check correctly while setting
slice mode.

Change-Id: Iea6a041ecafb24da014832ecf2146088d4569a6f
CRs-Fixed: 2444064
Signed-off-by: Darshana Patil <darshana@codeaurora.org>
2019-05-08 09:17:12 -07:00
Maheshwar Ajja
35da0d64cf msm: vidc: enhance CVP usage functionality
Amend below CVP functionalities

- enable logic
- start sequence
- frame skip logic
- downscale resolution logic
- debugfs support.

Change-Id: I21ad934526c338916d130aaf3401bd89b574b4c1
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2019-05-07 15:26:43 -07:00
Shivendra Kakrania
ae78fd954b techpack: video: Updating video kernel snapshot
Video kernel snapshot before disabling msm/vidc compilation
from base kernel.

Change-Id: Id1178c3aca00706ad4822537f7f9a28141478771
Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>
2019-05-02 23:10:10 -07:00
Shivendra Kakrania
4ae4cb1749 techpack: video: Video driver kernel project initial snapshot
This change brings msm vidc driver from base 4.19 kernel project.
It is the first source code snapshot from base kernel project.

Change-Id: I1d600c4e9459b9013f4b607890c52644f6d94f0c
Signed-off-by: Shivendra Kakrania <shiven@codeaurora.org>
2019-05-02 22:31:44 -07:00