[<prev] [next>] [day] [month] [year] [list]
Message-ID: <8dc9928b-3e8c-bfcc-8424-ab577c97eb03@collabora.com>
Date: Fri, 15 Apr 2022 12:18:49 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: "jason-jh.lin" <jason-jh.lin@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Chun-Kuang Hu <chunkuang.hu@...nel.org>
Cc: CK Hu <ck.hu@...iatek.com>, Nancy Lin <nancy.lin@...iatek.com>,
Singo Chang <singo.chang@...iatek.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH v19 07/10] drm/mediatek: add mediatek-drm of vdosys0
support for mt8195
Il 15/04/22 10:39, jason-jh.lin ha scritto:
> 1. Add driver data of mt8195 vdosys0 to mediatek-drm and the sub driver.
> 2. Add get driver data function to identify which vdosys by io_start.
>
> Signed-off-by: jason-jh.lin <jason-jh.lin@...iatek.com>
> ---
> drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 +
> drivers/gpu/drm/mediatek/mtk_drm_drv.c | 141 +++++++++++++++++++++--
> drivers/gpu/drm/mediatek/mtk_drm_drv.h | 6 +
> 3 files changed, 145 insertions(+), 8 deletions(-)
>
..snip..
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.h b/drivers/gpu/drm/mediatek/mtk_drm_drv.h
> index a58cebd01d35..e1a37ca091f3 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.h
> +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.h
> @@ -21,6 +21,7 @@ struct drm_property;
> struct regmap;
>
> struct mtk_mmsys_driver_data {
> + const unsigned int io_start;
As mentioned in patch 03/10, this has to be
const resource_size_t io_start;
Thanks!
Powered by blists - more mailing lists