From: Inki Dae <inki.dae@samsung.com>
To: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/exynos: resolve infinite loop issue on multi-platform
Date: Thu, 06 Nov 2014 22:44:24 +0900 [thread overview]
Message-ID: <545B7B38.1050407@samsung.com> (raw)
In-Reply-To: <1415278817.21639.2.camel@AMDC1943>
On 2014년 11월 06일 22:00, Krzysztof Kozlowski wrote:
> On czw, 2014-11-06 at 21:32 +0900, Inki Dae wrote:
>> On 2014년 11월 06일 21:11, Krzysztof Kozłowski wrote:
>>> On 06.11.2014 11:32, Inki Dae wrote:
>>>> This patch resolves temporarily infinite loop issue incurred
>>>> when Exynos drm driver is enabled and multi-platform kernel
>>>> is used by registering Exynos drm device object only in case
>>>> of Exynos SoC. So this patch will be replaced with more generic
>>>> way later.
>>>
>>> Does not help for Rinato board.
>>>
>>> On Rinato:
>>> -----------------------
>>> Failed to find PMU node
>>> Registering SWP/SWPB emulation handler
>>> mmc0: BKOPS_EN bit is not set
>>> mmc_host mmc0: Bus speed (slot 0) = 100000000Hz (slot req 100000000Hz,
>>> actual 100000000HZ div = 0)
>>> exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>>> mmc0: new HS200 MMC card at address 0001
>>> platform exynos-drm: Driver exynos-drm requests probe deferral
>>> mmcblk0: mmc0:0001 F5X5MA 3.64 GiB
>>> mmcblk0boot0: mmc0:0001 F5X5MA partition 1 4.00 MiB
>>> exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>>> mmcblk0boot1: mmc0:0001 F5X5MA partition 2 4.00 MiB
>>> platform exynos-drm: Driver exynos-drm requests probe deferral
>>> mmcblk0rpmb: mmc0:0001 F5X5MA partition 3 512 KiB
>>> exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>>> platform exynos-drm: Driver exynos-drm requests probe deferral
>>> mmcblk0: p1 p2 p3 p4 p5 p6 p7
>>> exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>>> platform exynos-drm: Driver exynos-drm requests probe deferral
>>> exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
>>> platform exynos-drm: Driver exynos-drm requests probe deferral
>>>
>>> and so on...
>>> -----------------------
>>
>> Can you show me compatible string placed on top of exynos3250-rinato.dts
>> file? If the compatible has "samsung,exynos3" it should be no problem
>> with this patch. And the rinato dts file we posted to mainline has the
>> compatible string.
>
> model = "Samsung Rinato board";
> compatible = "samsung,rinato-rev05", "samsung,exynos3250",
> "samsung,exynos3";
>
> The problem is "samsung,exynos3" because the patch solves only issue on
> multiplatform kernel run on non-exynos board. It does not solve the
> problem on exynos board with DRM enabled but without all drivers.
>
Right, if you disabled all kms drivers and enabled only non-kms drivers
then the infinite loop will occur. However, this should be handled in
separated issue because without this patch, same issue will occur.
>
>>>
>>> I do not know whether it is related but Trats2 board cannot boot due to
>>> lockup after:
>>> [drm] Initialized drm 1.1.0 20060810
>>> (with or without the patch)
>>> https://lkml.org/lkml/2014/11/6/125
>>>
>>
>> hmm... it's strange because my trats2 board works well with this patch.
>> Which kernel did you test? And how can I reproduce above lockup?
>
> Just boot up next-2014110{456} with kernel config attached in mentioned
> email.
It looks like other issue regardless of this patch. If the board dts
file includes compatible string that Exynos drm driver is checking then
Exynos drm driver has no any change - having same logic.
Thanks,
Inki Dae
>
> Best regards,
> Krzysztof
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2014-11-06 13:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 10:32 [PATCH] drm/exynos: resolve infinite loop issue on multi-platform Inki Dae
2014-11-06 12:11 ` Krzysztof Kozłowski
2014-11-06 12:32 ` Inki Dae
2014-11-06 13:00 ` Krzysztof Kozlowski
2014-11-06 13:44 ` Inki Dae [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=545B7B38.1050407@samsung.com \
--to=inki.dae@samsung.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=k.kozlowski@samsung.com \
--cc=linux-samsung-soc@vger.kernel.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.