提交線圖

1619 次程式碼提交

作者 SHA1 備註 日期
Megha Byahatti
1ee56f827d video: driver: Recalculate VPSS line buffer macro
Recalculate VPSS line buffer macro to accommodate all
corner cases in VPSS operation.

HFI review done with ccb id 3508147.

Change-Id: If43ad34165a4206b6c9d19993dd4194f7ba597ea
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2024-06-28 14:20:25 +05:30
Rajathi S
e8a1ce306a video: driver: Set Default session priority to high for volcano SKU1
- When the Client doesn't configure priority for a session
    set Default session priority to high for SKU1 device

Change-Id: I0d02b5da4294bbb92dad299db3f5487b5126d6b1
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-06-18 23:02:01 -07:00
Rajathi S
a7b13bf76d video: driver: Updated RT_MBPF for Milos SKU1
- Updated RT_MBPF value to support 2 UHD concurrent
    session.

Change-Id: Iddb6e8c547de1cab617195b67390e42fa181e918
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-06-11 02:51:57 -07:00
qctecmdr
28222ce2f7 Merge "Video: Driver: Add SSR support for cliffs SKU1" 2024-06-09 22:43:49 -07:00
qctecmdr
c02b281788 Merge "Video: driver: Fixing DPB count" 2024-06-02 19:07:57 -07:00
qctecmdr
4b4141d7ef Merge "Video: Driver: Add fence support for SKU1" 2024-06-02 19:07:57 -07:00
qctecmdr
88cac483c4 Merge "Video: Driver: Updated Firmware version" 2024-06-02 19:07:57 -07:00
Rajathi S
5e85abfbd1 Video: driver: Fixing DPB count
- If Splitmode is enabled DPB count should be first used
    as populated by FW else populated to default value of 4.

Change-Id: I3fe5a65da6f7fdfe9882abd22f4b9a94437d9972
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-05-28 13:47:21 +05:30
Rajathi S
e0c63d819a Video: Driver: Add fence support for SKU1
- Add fence support for SKU1 configuration

Change-Id: If49c006e9db052028d4aa23b8169499b43c77e8d
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-05-28 00:40:23 -07:00
qctecmdr
af651d6290 Merge "Video: Driver: Add fence support in MILOS" 2024-05-23 02:32:26 -07:00
Vikash Garodia
8f31c12ac8 video: driver: fix redundant entries in cap
remove redundant entry for STAGE in database.

Change-Id: I7a424f070e1cb1b505be021659c5b7c064c3b3a4
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
2024-05-22 10:00:10 +05:30
Vikash Garodia
db314a6554 video: driver: remove redundant entry for STAGE
remove redundant entry for STAGE in pineapple DB.

Change-Id: I1a0a861a0f419fbcadd1ebbbdc8ca2dc373af10c
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
2024-05-22 09:58:04 +05:30
Vikash Garodia
287b84428d video: driver: remove redundant entry for STAGE
remove redundant entry for STAGE in cliff DB.

Change-Id: Id640ee48dec26851ba18cd472077b0e75f367496
Signed-off-by: Vikash Garodia <quic_vgarodia@quicinc.com>
2024-05-22 09:57:21 +05:30
Rajathi S
45914453dd Video: Driver: Updated Firmware version
- Update the firmware version from 4v to 2v since
    volcano is 2 pipe configuration.

Change-Id: I2b736e5165d8dc2bf3dcdc9820bd38a476b3521f
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-05-16 05:25:05 -07:00
qctecmdr
13af8a0783 Merge "video-driver: Add comments to the logs" 2024-05-14 21:31:33 -07:00
Rajathi S
bc6d76cb88 Video: Driver: Add fence support in MILOS
- Add fence support in MILOS

Change-Id: I2f1f8374559104535ef89d20efb5203b32dd4567
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-05-08 21:32:24 -07:00
Rajathi S
85f3b6cbcc Video: Driver: Enable bug on for WD_TIMEOUT on MILOS
-  Enable bug on only for WD_TIMEOUT and disable WD SSR

Change-Id: I993ac622660a242fa3a835eca119b76e9e020510
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-04-25 18:24:27 +05:30
qctecmdr
4a19fb721c Merge "video: driver: limit auto-frame-rate to original fps value" 2024-04-22 15:00:08 -07:00
qctecmdr
09ce24d5ae Merge "Video: Driver: Add SSR support" 2024-04-22 15:00:07 -07:00
Wenjie Yin
ca60c1dc9e video: driver: limit auto-frame-rate to original fps value
Limit the auto-frame-rate feature to the original fps value the client
set, ignore other cases.

Change-Id: Ib8f374cc385da1cc4de464bc1d0520eb1d637b7e
Signed-off-by: Wenjie Yin <quic_wenjyin@quicinc.com>
2024-04-18 19:41:03 -07:00
Rajathi S
652e7d78ad Video: Driver: Add SSR support
- Add SSR support on MILOS

Change-Id: I87f9de1307b043b3d883ba934c805b0e80ade32c
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-04-17 11:24:42 +05:30
Rajathi S
4020406212 Video: Driver: Add SSR support for cliffs SKU1
- Add SSR support for cliffs SKU1 version

Change-Id: If954d8ff858385aef60850440f6f5e3a1ded3e29
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-04-17 11:23:18 +05:30
Rajathi S
2502af1259 Video: Driver: Moved DPB list from input to output
- Moved DPB list from input to output
  - change the log level of xo_reset control to high instead
    of error log.

Change-Id: Ie3fd1f5fc846b08452d1c0d56bb065a11135e1e3
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-04-12 17:56:18 +05:30
Manikanta Kanamarlapudi
155787cac4 video-driver: Add comments to the logs
Add comments to the error logs that are used
in RMA device screening.

Change-Id: I830e7116ceae535cf291aae8e137b38c9bc77fee
Signed-off-by: Manikanta Kanamarlapudi <quic_kmanikan@quicinc.com>
2024-04-09 05:34:34 -07:00
qctecmdr
3765322aa5 Merge "video: driver: Add mvs0 clock reset and update sideBand Register" 2024-04-06 18:10:47 -07:00
Rajathi S
a7e4cb9cef Video: Driver: Restrict VP9 to UHD 60 fps
- According to the spec, restrict VP9 to UHD 60 fps

Change-Id: Iaa8208824e0e54c9ed9091b2e54824cb20798dc0
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-04-03 02:12:20 -07:00
Vedang Nagar
aa530c552f video: driver: Add mvs0 clock reset and update sideBand Register
For Cliffs target, Add mvs0 reset clock and update sideBand NoC
registers.

Change-Id: I6e48e0cab842f3ee12b1e3cb68495afe5f4e67de
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-03-29 10:31:33 +05:30
qctecmdr
6acdf52427 Merge "video: driver: Update ssr type specific to target" 2024-03-27 23:09:03 -07:00
Manikanta Kanamarlapudi
f7b9dd6807 video-driver: Made changes in error recovery sequence
- Add ARES for Core clock.
- After controller power down, re-initiate controller/core power
  on sequence and wait for QACCEPT and then power down the video
  subsystem.

Change-Id: Icec985f33dc6e05adf71bfa40901120ceffea655
Signed-off-by: Manikanta Kanamarlapudi <quic_kmanikan@quicinc.com>
2024-03-27 14:21:00 +05:30
Manikanta Kanamarlapudi
98619ca0bd video-driver: update fuse register for Volcano
IRIS_MULTIPIPE_DISABLE fuse will decide the sku
version, update the same for Volcano.

Change-Id: Icc0103b83ccd2222783549a1fa3d56373e4ca343
Signed-off-by: Manikanta Kanamarlapudi <quic_kmanikan@quicinc.com>
2024-03-19 19:34:09 +05:30
Rajathi S
6b9d8e6863 Video: driver: Update platform data for SKU1
- Update platform data for SKU1 which supports
    4k30 encode and 4k30 decode.

Change-Id: I4523030e46c995918489eaaaceb0d0998134477d
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-19 16:38:00 +05:30
Megha Byahatti
b880b69c2e video: driver: Update ssr type specific to target
Update ssr type slection logic to msm_vidc_driver.c.
And add ssr type specific to target for kalama and
waipio.

Change-Id: Ifbdd47f3cc13f69cd93ecbfdbfefa20a112fca7e
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2024-03-19 15:06:32 +05:30
qctecmdr
59e34a8dbc Merge "Video: Driver: Added support for multiple project configuration" 2024-03-16 13:17:58 -07:00
qctecmdr
879ba91507 Merge "video: driver: Avoided video_xo_reset on MILOS" 2024-03-16 13:17:58 -07:00
Rajathi S
32330210ce Video: Driver: Added support for multiple project configuration
- Multiple targets can have same kernel config, but target will be
     differentiated by target name lunch command.
   - Instead of having multiple configuration in bazel file for
     different targets, calling get_all_la_target_variants will return all
     the target variants.
   - And for targets sharing the same kernel config but having a different
     lunch command can be queried using
     define_lunch_target_variant_modules.
   - Bazel compilation was modified generic based on lunch target and
     base target

Change-Id: I82cdf744061b9ca395d2dcef003219d3af87287f
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-13 22:51:10 +05:30
qctecmdr
85f57c12d6 Merge "Video: Driver: Updated clocks for iris2 volcano configuration" 2024-03-12 12:22:31 -07:00
qctecmdr
6414925f6a Merge "Video: Driver: Added UBWC configuration for volcano" 2024-03-12 12:22:31 -07:00
qctecmdr
5e9e0583cb Merge "Video: Driver: Add support for volcano upstream" 2024-03-12 12:22:31 -07:00
Rajathi S
94d3c6c0ea video: driver: Avoided video_xo_reset on MILOS
- Milos doesn't support video_xo_reset.
  - Since its a common code added a condition to checkif vpu
    version is iris2_2pipe and video_xo_reset is configured then
    return with success.

Change-Id: I0baf3b1e89245065be4a4c21c55bc138077dd214
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-12 14:31:16 +05:30
Rajathi S
623ae59d11 Video: Driver: Added UBWC configuration for volcano
- Added UBWC configuration(LP4 & LP5) for volcano target.

Change-Id: I9548eab543d47a87ae5b4ea068743ce388f17540
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-11 22:34:44 -07:00
Manikanta Kanamarlapudi
31e4bbb858 video-driver: update frequency corners for Volcano
Update frequency corners for Volcano

Change-Id: I99c8e31e8442c2e51bd078ef6ff8f4654ce15734
Signed-off-by: Manikanta Kanamarlapudi <quic_kmanikan@quicinc.com>
2024-03-11 22:33:00 -07:00
Rajathi S
8e1f8f6e58 Video: Driver: Modify platform specific changes for volcano
- Modify platform specific driver changes for volcano target

Change-Id: I1800d711ba8a7c9dab6f17c9f0f9e547acf8b52f
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-11 22:49:19 +05:30
Rajathi S
7464e3fdda Video: Driver: Add support for volcano upstream
- Add support for upstream folder for volcano

Change-Id: Ia61c11bbeaf7d3c7d5848dfcb808998a67ddc328
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-11 17:03:35 +05:30
Rajathi S
b10a25e7c7 Video: Driver: Updated clocks for iris2 volcano configuration
- Updated Clocks for iris2 volcano configuration

Change-Id: I6fb6c926949c86c5ff84617bf32f6be54771f4bc
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-03-10 09:24:42 -08:00
Megha Byahatti
ef642b7f36 video: driver: Update Max_MBPS for cliffs
According to PDM request updating specification
support for 4k60 and UHD120 for HEVC andH264.
Due to this MAX_MBPS value changes as max
load will be 1080p@480fps=3916800. For AV1 and
VP9 max support is 4k60.

Change-Id: I02eb0842388880b3c67a75b948816b80be11c6cb
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2024-03-04 11:12:11 +05:30
Rajathi S
fe23c9409b Video: Driver: Add support for Volcano
- Add the basic driver support for volcano variant.
  - Add platform specific files for volcano.

Change-Id: Iaa736415dc495912ed598a94fca736937015ac7b
Signed-off-by: Rajathi S <quic_rajathis@quicinc.com>
2024-02-18 18:44:16 +05:30
qctecmdr
3d174eaaae Merge "video: driver: do not send resume on output port for encoder" 2024-02-11 22:07:26 -08:00
Megha Byahatti
08ebfd7f87 video: driver: Fix ddr voting to 0 after drain
After drain command when there is inactive session,the
difference between last qbuf input and current time
was exceeding the MSM_VIDC_SESSION_INACTIVE_THRESHOLD_MS
which was leading to ddr voting 0(total_bw_ddr = 0).

When there are no video frames to process, ensure
minimum passive ddr voting for Tensilica(1000kbps).

Change-Id: I5ead2dcf95581b302fd711e4ec08962e876e09b9
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
2024-02-01 16:49:13 +05:30
Vedang Nagar
4459cd1e4c video: driver: do not send resume on output port for encoder
HFI_CMD_RESUME is not required on output port for encoder.
Add change to skip the same.

HFI Doc snippet for reference:
* There is no usage of resume command for encoder output port.

Change-Id: Ib2f7177f38de4b780c4627c7bdb03cbc61a63399
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
2024-01-31 23:25:24 +05:30
qctecmdr
119382c01d Merge "video: driver: Add pipes scalability for multi slice count" 2024-01-20 16:10:31 -08:00