Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477114

Re: [PATCH v7 2/9] drm/mediatek: add *driver_data for different hardware settings

From CK Hu <ck.hu@mediatek.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 2/9] drm/mediatek: add *driver_data for different hardware settings
Date 2016-09-06 09:30 +0200
Message-ID <seiZr-7fd-3@gated-at.bofh.it> (permalink)
References <scUPw-7ib-13@gated-at.bofh.it> <scUPw-7ib-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi, YT:

On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote:
> There are some hardware settings changed, between MT8173 & MT2701:
> DISP_OVL address offset changed, color format definition changed.
> DISP_RDMA fifo size changed.
> DISP_COLOR offset changed.
> MIPI_TX pll setting changed.
> And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod.
> 
> Signed-off-by: YT Shen <yt.shen@mediatek.com>
> ---

[snip...]

>  
> @@ -185,7 +183,8 @@ static void mtk_ovl_layer_config(struct mtk_ddp_comp *comp, unsigned int idx,
>  	writel_relaxed(pitch, comp->regs + DISP_REG_OVL_PITCH(idx));
>  	writel_relaxed(src_size, comp->regs + DISP_REG_OVL_SRC_SIZE(idx));
>  	writel_relaxed(offset, comp->regs + DISP_REG_OVL_OFFSET(idx));
> -	writel_relaxed(addr, comp->regs + DISP_REG_OVL_ADDR(idx));

DISP_REG_OVL_ADDR() is useless, so remove it.

> +	writel_relaxed(addr, comp->regs + comp->data->ovl.addr_offset
> +					+ idx * 0x20);
>  
>  	if (pending->enable)
>  		mtk_ovl_layer_on(comp, idx);


Regards,
CK

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v7 2/9] drm/mediatek: add *driver_data for different hardware settings YT Shen <yt.shen@mediatek.com> - 2016-09-02 13:30 +0200
  Re: [PATCH v7 2/9] drm/mediatek: add *driver_data for different  hardware settings CK Hu <ck.hu@mediatek.com> - 2016-09-06 09:30 +0200

csiph-web