On 12.02.2023 00:12, Dmitry Baryshkov wrote:
> Signed-off-by: Dmitry Baryshkov <[email protected]>
> ---
>  .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h   | 189 +++++++++++++++++
>  .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    | 191 +-----------------
>  2 files changed, 191 insertions(+), 189 deletions(-)
>  create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h
> 
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h 
> b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h
> new file mode 100644
> index 000000000000..c963365a9945
> --- /dev/null
> +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h
> @@ -0,0 +1,189 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +/*
> + * Copyright (c) 2022. Qualcomm Innovation Center, Inc. All rights reserved.
> + * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved.
> + */
> +
> +#ifndef _DPU_3_0_MSM8998_H
> +#define _DPU_3_0_MSM8998_H
> +
> +static const struct dpu_caps msm8998_dpu_caps = {
> +     .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
> +     .max_mixer_blendstages = 0x7,
> +     .qseed_type = DPU_SSPP_SCALER_QSEED3,
> +     .smart_dma_rev = DPU_SSPP_SMART_DMA_V1,
Rebase

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

> +     .has_src_split = true,
> +     .has_dim_layer = true,
> +     .has_idle_pc = true,
> +     .has_3d_merge = true,
> +     .max_linewidth = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
> +     .pixel_ram_size = DEFAULT_PIXEL_RAM_SIZE,
> +     .max_hdeci_exp = MAX_HORZ_DECIMATION,
> +     .max_vdeci_exp = MAX_VERT_DECIMATION,
> +};
[...]

> +     .clk_inefficiency_factor = 200,
> +     .bw_inefficiency_factor = 120,
Sidenote: this seems weird.

Reply via email to