From: Tobias Jakobi <liquid.acid@gmx.net>
To: Marek Szyprowski <m.szyprowski@samsung.com>,
linux-samsung-soc@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org,
Daniel Drake <drake@endlessm.com>,
Andrzej Hajda <a.hajda@samsung.com>,
kyungmin.park@samsung.com,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Subject: Re: [PATCH] drm/exynos: IOMMU support should not be selectable by user
Date: Fri, 23 Jan 2015 00:19:26 +0100 [thread overview]
Message-ID: <54C1857E.30503@gmx.net> (raw)
In-Reply-To: <1421764274-26398-1-git-send-email-m.szyprowski@samsung.com>
Hello!
Marek Szyprowski wrote:
> If system provides IOMMU feature, Exynos DRM should use it by default,
> because the Exynos DRM subdrivers don't work correctly when Exynos IOMMU
> driver has been enabled and no IOMMU support has been compiled into Exynos
> DRM driver.
>
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
> drivers/gpu/drm/exynos/Kconfig | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig
> index 7f9f6f9e9b7e..39fe490efcd4 100644
> --- a/drivers/gpu/drm/exynos/Kconfig
> +++ b/drivers/gpu/drm/exynos/Kconfig
> @@ -13,10 +13,9 @@ config DRM_EXYNOS
> If M is selected the module will be called exynosdrm.
>
> config DRM_EXYNOS_IOMMU
> - bool "EXYNOS DRM IOMMU Support"
> + bool
> depends on DRM_EXYNOS && EXYNOS_IOMMU && ARM_DMA_USE_IOMMU
> - help
> - Choose this option if you want to use IOMMU feature for DRM.
> + default y
>
> config DRM_EXYNOS_DMABUF
> bool "EXYNOS DRM DMABUF"
>
I tested Exynos DRM with the IOMMU enabled today and couldn't find any
of the previous issues.
A few things that I noticed though:
1) Without the IOMMU I get these powerdomain infos in the kernel logs:
"lcd0-power-domain: Power-on latency exceeded, new value 416167 ns"
"tv-power-domain: Power-on latency exceeded, new value 456125 ns"
These don't appear with the IOMMU, so I was wondering if the
powerdomains are now staying on the whole time?
2) With Exynos DRM now having a dependency on IOMMU (when it is
enabled), I was wondering if anything needs to be done for the old
's5p-tv' driver to work properly now?
With best wishes,
Tobias
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-01-22 23:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 14:31 [PATCH] drm/exynos: IOMMU support should not be selectable by user Marek Szyprowski
2015-01-22 23:19 ` Tobias Jakobi [this message]
2015-01-23 7:26 ` Marek Szyprowski
2015-02-04 5:17 ` 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=54C1857E.30503@gmx.net \
--to=liquid.acid@gmx.net \
--cc=a.hajda@samsung.com \
--cc=drake@endlessm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=javier.martinez@collabora.co.uk \
--cc=kyungmin.park@samsung.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox