From: Thierry Reding <thierry.reding@gmail.com>
To: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Cc: dri-devel@lists.freedesktop.org,
linux-samsung-soc@vger.kernel.org, naveenkrishna.ch@gmail.com
Subject: Re: [PATCH] drm/exynos: Make exynos_drm_init() call late during the bootup
Date: Wed, 21 May 2014 17:46:23 +0200 [thread overview]
Message-ID: <20140521154622.GO2014@ulmo> (raw)
In-Reply-To: <1400067585-31236-1-git-send-email-ch.naveen@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]
On Wed, May 14, 2014 at 05:09:45PM +0530, Naveen Krishna Chatradhi wrote:
> exynos_drm_init() does probing of various drivers like dp_panel,
> hdmi, fimd, mixer, etc in an order and finally binds them together.
>
> Some of the drm devices (Eg: dp_panel) try to do regulator_get()
> and enable few supplies during their probe.
> Chances are that, these devices may get probed before the respective
> supply/PMIC is hooked. In such cases, dp_panel would continue with
> "dummy regulator". Which is not what the system wants.
>
> Lets give the core connectivity and regulators modules some time
> to hookup the supplies before Exynos DRM devices comes into picture.
>
> Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
> ---
> This change is proposed after
> 1. Discussing with I2C/SPI & DMA subsystem maintainers and Others
> @ https://lkml.org/lkml/2014/5/9/333
> Trying to change the I2C, SPI and DMA drivers as subsys_initcall()
> Which was strictly opposed, as a flaw was found in DRM subsystem.
>
> 2. -EPROBE_DEFER won't work well with the current sequency of
> platform_driver_register()s in exynos_drm_init()
Then this is the problem that you need to fix. If the driver doesn't
handle -EPROBE_DEFER properly then that means the driver is broken. No
amount of initcall ordering can fix this for you.
Thierry
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-05-21 15:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 11:39 [PATCH] drm/exynos: Make exynos_drm_init() call late during the bootup Naveen Krishna Chatradhi
2014-05-21 6:39 ` Naveen Krishna Ch
2014-05-21 15:46 ` Thierry Reding [this message]
2014-05-26 5:39 ` Naveen Krishna Ch
2014-05-27 13:02 ` 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=20140521154622.GO2014@ulmo \
--to=thierry.reding@gmail.com \
--cc=ch.naveen@samsung.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=naveenkrishna.ch@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox