]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Check iommu itself instead of it's parent for device_is_available
authorAndy Yan <andy.yan@rock-chips.com>
Sun, 27 Jun 2021 08:47:37 +0000 (16:47 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 21 Sep 2021 09:50:26 +0000 (11:50 +0200)
commitb75678cf80e7d14e271c7fd1ebfa9f99bfc41da9
treefb1163a07f264fc319249234f4197ccae059df1f
parentc6b49b51c76d57de3aa8b3361b1e9c772438c081
drm/rockchip: Check iommu itself instead of it's parent for device_is_available

When iommu itself is disabled in dts, we should
fallback to non-iommu buffer, check iommu parent
is meanless here.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210627084737.309163-1-andy.yan@rock-chips.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.c