diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2021-06-27 16:47:37 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-09-21 11:50:26 +0200 |
commit | e1202c7a65b10258f9a11c1d2613c2aa91fe11cd (patch) | |
tree | fb1163a07f264fc319249234f4197ccae059df1f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | adfeef9370ff8b53c5f73cda3a63531d92b1ca64 (diff) | |
download | linux-e1202c7a65b10258f9a11c1d2613c2aa91fe11cd.tar.bz2 |
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions