All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "Stéphane Marchesin" <stephane.marchesin@gmail.com>
Cc: linux-fbdev@vger.kernel.org, Sebastien Guiriec <s-guiriec@ti.com>,
	dri-devel@lists.freedesktop.org,
	Jesse Barnes <jesse.barnes@intel.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Benjamin Gaignard <benjamin.gaignard@linaro.org>,
	Sumit Semwal <sumit.semwal@linaro.org>,
	Tom Gall <tom.gall@linaro.org>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	linux-media@vger.kernel.org,
	Stephen Warren <swarren@wwwdotorg.org>,
	Mark Zhang <markz@nvidia.com>,
	linaro-mm-sig@lists.linaro.org,
	Alexandre Courbot <acourbot@nvidia.com>,
	Ragesh Radhakrishnan <Ragesh.R@linaro.org>,
	Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Sunil Joshi <joshi@samsung.com>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Vikas Sajjan <vikas.sajjan@linaro.org>
Subject: Re: CDF meeting @FOSDEM report
Date: Thu, 14 Feb 2013 11:35:46 +0200	[thread overview]
Message-ID: <511CAFF2.6030808@ti.com> (raw)
In-Reply-To: <CACP_E+JRVppfvJBGqHk0fTCyN7Yb0LF4fbX_c0EGNAxE8wiCkQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]

On 2013-02-13 00:45, Stéphane Marchesin wrote:

> So, a part which is completely omitted in this thread is how to handle
> suspend/resume ordering. If you have multiple encoders which need to
> be turned on/off in a given order at suspend/resume, how do you handle
> that given the current scheme where they are just separate platform
> drivers in drivers/video?
> 
> This problems occurs with drm/exynos in current 3.8 kernels for
> example. On that platform, the DP driver and the FIMD driver will
> suspend/resume in random order, and therefore fail resuming half the
> time. Is there something which could be done in CDF to address that?

I don't think we have a perfect solution for this, but I think we can
handle this by using PM notifiers, PM_SUSPEND_PREPARE and PM_POST_SUSPEND.

The code that manages the whole chain should register to those
notifiers, and disable or enable the display devices accordingly. This
way the devices are enabled and disabled in the right order, and also
(hopefully) so that the control busses are operational.

 Tomi



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 899 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

      parent reply	other threads:[~2013-02-14  9:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-05 22:27 CDF meeting @FOSDEM report Laurent Pinchart
2013-02-06 11:11 ` Tomi Valkeinen
2013-02-06 12:11   ` Jani Nikula
2013-02-06 12:54     ` Tomi Valkeinen
2013-02-06 14:44   ` Alex Deucher
2013-02-06 14:44     ` Alex Deucher
2013-02-06 14:44     ` Alex Deucher
2013-02-06 15:00     ` Tomi Valkeinen
2013-02-06 15:00       ` Tomi Valkeinen
2013-02-06 15:00       ` Tomi Valkeinen
2013-02-06 16:14       ` [Linaro-mm-sig] " Daniel Vetter
2013-02-06 16:14         ` Daniel Vetter
2013-02-12 22:45 ` Stéphane Marchesin
2013-02-13  9:25   ` Marcus Lorentzon
2013-02-14  9:35   ` Tomi Valkeinen [this message]

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=511CAFF2.6030808@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=Ragesh.R@linaro.org \
    --cc=acourbot@nvidia.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesse.barnes@intel.com \
    --cc=joshi@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=markz@nvidia.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=s-guiriec@ti.com \
    --cc=stephane.marchesin@gmail.com \
    --cc=sumit.semwal@linaro.org \
    --cc=swarren@wwwdotorg.org \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=tom.gall@linaro.org \
    --cc=vikas.sajjan@linaro.org \
    /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.