All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Padovan <gustavo@padovan.org>
To: Andrzej Hajda <a.hajda@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com,
	dri-devel@lists.freedesktop.org,
	Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: [PATCH 2/3] drm/exynos: fix broken component binding in case of multiple pipelines
Date: Tue, 9 Jun 2015 16:47:38 -0300	[thread overview]
Message-ID: <20150609194738.GC22853@joana> (raw)
In-Reply-To: <1433758542-9843-3-git-send-email-a.hajda@samsung.com>

Hi Andrzej,

2015-06-08 Andrzej Hajda <a.hajda@samsung.com>:

> In case there are multiple pipelines and deferred probe occurs, only components
> of the first pipeline were bound. As a result only one pipeline was available.
> The main cause of this issue was dynamic generation of component match table -
> every component driver during probe registered itself on helper list, if there
> was at least one pipeline present on this list component match table were
> created without deferred components.
> This patch removes this helper list, instead it creates match table from
> existing devices requiring exynos_drm KMS drivers. This way match table do not
> depend on probe/deferral order and contains all KMS components.
> As a side effect patch makes the code cleaner and significantly smaller.
> 
> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos7_drm_decon.c |  14 +-
>  drivers/gpu/drm/exynos/exynos_dp_core.c    |  13 +-
>  drivers/gpu/drm/exynos/exynos_drm_dpi.c    |  20 +-
>  drivers/gpu/drm/exynos/exynos_drm_drv.c    | 283 ++++++++---------------------
>  drivers/gpu/drm/exynos/exynos_drm_dsi.c    |  29 +--
>  drivers/gpu/drm/exynos/exynos_drm_fimd.c   |  28 +--
>  drivers/gpu/drm/exynos/exynos_drm_vidi.c   |  18 +-
>  drivers/gpu/drm/exynos/exynos_hdmi.c       |  22 +--
>  drivers/gpu/drm/exynos/exynos_mixer.c      |  14 +-
>  9 files changed, 99 insertions(+), 342 deletions(-)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos7_drm_decon.c b/drivers/gpu/drm/exynos/exynos7_drm_decon.c
> index d659ba2..22cb067 100644
> --- a/drivers/gpu/drm/exynos/exynos7_drm_decon.c
> +++ b/drivers/gpu/drm/exynos/exynos7_drm_decon.c
> @@ -769,11 +769,6 @@ static int decon_probe(struct platform_device *pdev)
>  	if (!ctx)
>  		return -ENOMEM;
>  
> -	ret = exynos_drm_component_add(dev, EXYNOS_DEVICE_TYPE_CRTC,
> -					EXYNOS_DISPLAY_TYPE_LCD);

Please also remove enum exynos_drm_device_type, with this patch it is
not used anymore.

	Gustavo
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-06-09 19:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 10:15 [PATCH 0/3] exynos_drm initialization fix Andrzej Hajda
2015-06-08 10:15 ` [PATCH 1/3] drm/exynos: consolidate driver/device initialization code Andrzej Hajda
2015-06-11 14:33   ` Inki Dae
2015-06-08 10:15 ` [PATCH 2/3] drm/exynos: fix broken component binding in case of multiple pipelines Andrzej Hajda
2015-06-09 19:47   ` Gustavo Padovan [this message]
2015-06-10  7:49     ` [PATCH v2 " Andrzej Hajda
2015-06-08 10:15 ` [PATCH 3/3] drm/exynos: remove SoC checking code Andrzej Hajda
2015-06-09 19:46   ` Gustavo Padovan
2015-06-10  2:14     ` Hyungwon Hwang

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=20150609194738.GC22853@joana \
    --to=gustavo@padovan.org \
    --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.