- Add pipes check to support different Tile sizes based on
number of VPP Pipes for HFI_IRIS3_ENC_TILE_SIZE_INFO,
HFI_IRIS3_ENC_MB_BASED_MULTI_SLICE_COUNT.
HFI review done with ccb id 3284017.
Change-Id: I2e403ac712143635fd9ff5167260e23d6b48c482
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
- Due to hw limitation update max frequency for fused
variant with video_cc_pll_uhd60_fmax_fuse = 1 to 366MHz.
Change-Id: Id3b154ca600c3e8fa3cbb19bab1e20feba347775
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
[1] Acquire xo_reset mutex for gdsc access.
[2] Retry acquire_regulator for 1sec and BUG_ON if still fails.
Change-Id: Ie0ed4561a0c12b8526e2ede96a879f9d311aafab
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
To debug FW bootup failure scenario, FW tries to update ctrl_init
register to know at what point failure is seen and driver can
read and print this register so as to know where FW bootup is
failing.
Change-Id: I26691a84ab2526dee8adb6b2a46b62a01bacede8
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
Using pointer instead of array copy for frequency
and bitrate table.
Change-Id: I1c4c10ed0708954a067e8b199e293a2169e68628
Signed-off-by: Zhongbo Shi <quic_zhongbos@quicinc.com>
Problem:
First IPSC is received from firmware and driver sub state is set to
INPUT PAUSE. And driver state is INPUT_STREAMING at this point of time.
Now client calls for seek (or flush), which invokes streamoff and
stream on INPUT port. As a result, INPUT PAUSE sub state is cleared.
Now when client handles the first IPSC by calling stream on output,
internal buffers are not queued as INPUT pause is cleared with seek.
But for split mode, LINE buffer is mandatory to queue in FIRST_IPSC
streamon of the OUTPUT port
Solution:
Introduced a new sub state check of FIRST_IPSC, during stream on of
the INPUT port after FLUSH, we will check if FIRST_IPSC is pending,
then we will PAUSE the INPUT port, later in OUTPUT stream on,
we check for INPUT PAUSE and if it is set, we will queue the
internal buffers to firmware and resume the input port.
Change-Id: Ia9b566443bc9c4546247d31625384d89aff6985d
Signed-off-by: Roopangkumar Patel <quic_rooppate@quicinc.com>
MAX_RT_MBPF was limited to 8k+4k even though 2 8k
UHD sessions are allowed. When client tries to
open 2 8k UHD session, the session will be rejected.
Supported real-time MAX_MBPS is 8k UHD @60fps, so
aligning the MAX_RT_MBPF as 2 8k UHD session @30fps.
Change-Id: I71de0dfa297044487b260283c0af56b052d61514
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
Fix inconsistency in clock and bandwidth calculation
compared with C model.
Change-Id: Ie3fbeb792a152de3a96687e96db7413fbf98c69b
Signed-off-by: Zhongbo Shi <quic_zhongbos@quicinc.com>
- Max resolution supported is 7680x4320 for AC sku.
Update resolution and MBPF accordingly.
Change-Id: I84ed70f3cdd8eadee02d7c524dc9d12f48d8c7af
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
- AB sku does not support for AV1. Adding fuse
register IRIS_DISABLE_AV1 to disable based on sku
version.
Change-Id: Ib8408b67072ca5aa42cba4ab7451add26968ff8e
Signed-off-by: Megha Byahatti <quic_mbyahatt@quicinc.com>
Fix AV1 resolution checking conditions for
input bus voting.
Change-Id: I24593ce425bd952fa9a053dfd08e6bfa880ca4fc
Signed-off-by: Zhongbo Shi <quic_zhongbos@quicinc.com>
[1] Add 8K@30 fps support for cliifs v0 SKU
[2] Modify max mbpf and rt_mbpf for Cliffs v1 SKU.
Change-Id: I03386e47ee53e32cf57711eecebd98201f399a5b
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>
AV1 Tile Info is sent by FW during EBD and these values
are being used by driver to compute clock votings.
For few(such as SEF) frames, there is no TILE info
present in the bitstream and FW will send default
(1, 1) value to driver which affects clock voting
for next frames and hence leading to performance issue.
To avoid such issue, if there is no tile infor, FW will
not send any such stale TILE info values.
But still during EBD, driver is doing memset to 0 for
inst->hfi_frame_info and hence overriding the value to 0.
Added fix to retain previous frames tile info by keeping
check for 0(since min value for tile info from FW = 1, 1)
if no value is being sent from the FW.
Change-Id: I6c23ed769f29efec2a7f318e3997d3f7532685c9
Signed-off-by: Vedang Nagar <quic_vnagar@quicinc.com>