All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
To: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: dri-devel@lists.freedesktop.org,
	linux-samsung-soc@vger.kernel.org, inki.dae@samsung.com,
	sw0312.kim@samsung.com, m.szyprowski@samsung.com,
	a.hajda@samsung.com
Subject: Re: [PATCH v2 2/3] drm/exynos: remove chained calls to enable
Date: Mon, 15 Jun 2015 17:41:21 -0300	[thread overview]
Message-ID: <20150615204121.GB4650@joana> (raw)
In-Reply-To: <1434097636-10709-2-git-send-email-jy0922.shim@samsung.com>

Hi Joonyoung,

2015-06-12 Joonyoung Shim <jy0922.shim@samsung.com>:

> With atomic modesetting all the control for CRTC, Planes, Encoders and
> Connectors should come from DRM core, so the driver is not allowed to
> enable or disable planes from inside the crtc_enable()/disable() call.
> 
> But it needs to disable planes with crtc_disable in exynos driver
> internally. Because crtc is disabled before plane is disabled, it means
> plane_disable just returns without any register changes, then we cannot
> be sure setting register to disable plane when crtc is disable.
> 
> This patch removes this chainned calls to enable plane from exynos hw
> drivers code letting only DRM core touch planes except to disable plane.
> Also it leads eliminable enabled and resume of struct exynos_drm_plane.
> 
> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
> This patch was modified from original patch of Gustavo Padovan - 
> http://www.spinics.net/lists/linux-samsung-soc/msg45351.html
> 
> v2 changes:
> - add 1/3 additional patch to remove waiting vblank in mixer.
> - rebase this from 1/3 patch.
> - add 3/3 additional patch to fix IOMMU page fault of fimd.
> 
>  drivers/gpu/drm/exynos/exynos7_drm_decon.c | 63 +++---------------------------
>  drivers/gpu/drm/exynos/exynos_drm_drv.h    |  5 ---
>  drivers/gpu/drm/exynos/exynos_drm_fimd.c   | 63 +++---------------------------
>  drivers/gpu/drm/exynos/exynos_drm_vidi.c   | 27 -------------
>  drivers/gpu/drm/exynos/exynos_mixer.c      | 38 ++----------------
>  5 files changed, 16 insertions(+), 180 deletions(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

	Gustavo

  reply	other threads:[~2015-06-15 20:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12  8:27 [PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank Joonyoung Shim
2015-06-12  8:27 ` [PATCH v2 2/3] drm/exynos: remove chained calls to enable Joonyoung Shim
2015-06-15 20:41   ` Gustavo Padovan [this message]
2015-06-12  8:27 ` [PATCH v2 3/3] drm/exynos: initialize VIDCON0 when fimd is disabled Joonyoung Shim
2015-06-15 20:44   ` Gustavo Padovan
2015-06-15 20:39 ` [PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank Gustavo Padovan

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=20150615204121.GB4650@joana \
    --to=gustavo.padovan@collabora.co.uk \
    --cc=a.hajda@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=inki.dae@samsung.com \
    --cc=jy0922.shim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=sw0312.kim@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.