drm/exynos: clear channels only when iommu is enabled
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 28 Jul 2015 08:51:02 +0000 (17:51 +0900)
committerInki Dae <inki.dae@samsung.com>
Sun, 16 Aug 2015 01:23:33 +0000 (10:23 +0900)
commit43a3b866a9e73e9bd215ec3f36c71e42469e70c6
tree59aca3628bf4c945d20cfd9ca47b568906851cc9
parenteb7a3fc74c58be9c01cdbe23947ae9eb032e8365
drm/exynos: clear channels only when iommu is enabled

This is simplest solution about reported problem[1]. It's no problem to
clear channel only when iommu is enabled, if we consider that we cannot
recognize iommu errors when iommu is disabled and it have been valid
until now. But this cannot be nice solution.

[1] https://lkml.org/lkml/2015/7/21/404

Reported-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c