media: iris: don't specify bank_spreading in the source code

The UBWC bank spreading is specified both in the Iris driver and in the
platform UBWC config. Use the platform UBWC configuration instead of
specifying it directly in the source.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Tested-by: Wangao Wang <wangao.wang@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
This commit is contained in:
Dmitry Baryshkov 2026-01-25 13:30:09 +02:00 committed by Bryan O'Donoghue
parent 8f1a4226df
commit 838dcd80db
3 changed files with 1 additions and 3 deletions

View File

@ -200,7 +200,7 @@ void iris_hfi_gen2_packet_sys_init(struct iris_core *core, struct iris_hfi_heade
&payload,
sizeof(u32));
payload = core->iris_platform_data->ubwc_config->bank_spreading;
payload = qcom_ubwc_bank_spread(ubwc);
iris_hfi_gen2_create_packet(hdr,
HFI_PROP_UBWC_BANK_SPREADING,
HFI_HOST_FLAGS_NONE,

View File

@ -77,7 +77,6 @@ struct tz_cp_config {
struct ubwc_config_data {
u32 max_channels;
u32 bank_spreading;
};
struct platform_inst_caps {

View File

@ -792,7 +792,6 @@ static const char * const sm8550_opp_clk_table[] = {
static struct ubwc_config_data ubwc_config_sm8550 = {
.max_channels = 8,
.bank_spreading = 1,
};
static const struct tz_cp_config tz_cp_config_sm8550[] = {