All of lore.kernel.org
 help / color / mirror / Atom feed
From: Inki Dae <inki.dae@samsung.com>
To: Andrzej Hajda <a.hajda@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	dri-devel@lists.freedesktop.org,
	linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH 4/7] drm/exynos: propagate info about command mode from panel
Date: Tue, 01 Aug 2017 18:49:33 +0900	[thread overview]
Message-ID: <59804EAD.5020009@samsung.com> (raw)
In-Reply-To: <1492519203-23537-5-git-send-email-a.hajda@samsung.com>



2017년 04월 18일 21:40에 Andrzej Hajda 이(가) 쓴 글:
> mipi_dsi framework provides information about panel's mode of work.
> This info should be propagated upstream to configure all elements of
> the pipeline. As CRTC is the common nominator of the pipeline we can put
> such info into its structures.
> 
> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 +
>  drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h
> index 527bf1d..96b9d49 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h
> +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h
> @@ -165,6 +165,7 @@ struct exynos_drm_crtc {
>  	const struct exynos_drm_crtc_ops	*ops;
>  	void				*ctx;
>  	struct exynos_drm_clk		*pipe_clk;
> +	bool				i80_mode : 1;
>  };
>  
>  static inline void exynos_drm_pipe_clk_enable(struct exynos_drm_crtc *crtc,
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> index 515090f..79df1c9 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> @@ -1545,6 +1545,8 @@ static int exynos_dsi_host_attach(struct mipi_dsi_host *host,
>  		drm_panel_attach(dsi->panel, &dsi->connector);
>  		dsi->connector.status = connector_status_connected;
>  	}
> +	exynos_drm_crtc_get_by_type(drm, EXYNOS_DISPLAY_TYPE_LCD)->i80_mode =
> +			!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO);

No place to use i80_mode in this patch. Seems this patch, patch 5 and portion of using i80_mode in patch 6 should become one patch. 

Thanks,
Inki Dae

>  
>  	mutex_unlock(&drm->mode_config.mutex);
>  
> 

  reply	other threads:[~2017-08-01  9:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170418124012eucas1p268347111adc9cf1550f7bf228aaeddbf@eucas1p2.samsung.com>
2017-04-18 12:39 ` [PATCH 0/7] drm/exynos: panel mode info propagation Andrzej Hajda
2017-04-18 12:39   ` [PATCH 1/7] drm/exynos/decon5433: use readl_poll_timeout helpers Andrzej Hajda
2017-04-18 12:39   ` [PATCH 2/7] drm/exynos: use helper to set possible crtcs Andrzej Hajda
2017-04-18 12:39   ` [PATCH 3/7] drm/exynos/dsi: refactor panel detection logic Andrzej Hajda
2017-08-01  9:29     ` Inki Dae
2017-08-14  6:59       ` Andrzej Hajda
2017-04-18 12:40   ` [PATCH 4/7] drm/exynos: propagate info about command mode from panel Andrzej Hajda
2017-08-01  9:49     ` Inki Dae [this message]
2017-08-14  7:14       ` Andrzej Hajda
2017-04-18 12:40   ` [PATCH 5/7] drm/exynos/mic: use mode info stored in CRTC to detect i80 mode Andrzej Hajda
2017-04-18 12:40   ` [PATCH 6/7] drm/exynos/decon5433: " Andrzej Hajda
2017-08-01 10:02     ` Inki Dae
2017-08-14 10:13       ` Andrzej Hajda
2017-04-18 12:40   ` [PATCH 7/7] dt-bindings: exynos5433-decon: remove i80-if-timings property Andrzej Hajda
2017-07-26  7:09   ` [PATCH 0/7] drm/exynos: panel mode info propagation Andrzej Hajda
2017-08-01  0:01     ` Inki Dae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59804EAD.5020009@samsung.com \
    --to=inki.dae@samsung.com \
    --cc=a.hajda@samsung.com \
    --cc=b.zolnierkie@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.