Re: [PATCH 31/33] iris: variant: iris: implement the logic to compute bus bandwidth

From: Konrad Dybcio
Date: Fri Jul 28 2023 - 14:09:13 EST


On 28.07.2023 15:23, Vikash Garodia wrote:
> From: Dikshita Agarwal <quic_dikshita@xxxxxxxxxxx>
>
> This implements the logic to compute bus bandwidth required by encoder
> or decoder for a specific usecase. It takes input as various video
> usecase parameters as configured by clients.
>
> Signed-off-by: Dikshita Agarwal <quic_dikshita@xxxxxxxxxxx>
> Signed-off-by: Vikash Garodia <quic_vgarodia@xxxxxxxxxxx>
> ---
[...]

> +/* 100x */
> +static u32 dpbopb_ubwc30_cr_table_cratio_iris3[7][12] = {
const?

[...]

> +
> + llc_enabled_ref_y_rd = (codec_input.status_llc_onoff) ? 1 : 0;
> + llc_enable_ref_crcb_rd = (codec_input.status_llc_onoff) ? 1 : 0;
> + /* H265D BSE tlb in LLC will be pored in Kailua */
?

> + llc_enabled_bse_tlb = (codec_input.status_llc_onoff) ? 1 : 0;
"? 1 : 0" is fancy bool conversion (!!x)

Konrad