diff options
author | Chao Hao <chao.hao@mediatek.com> | 2020-07-03 07:41:22 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-07-10 17:13:11 +0300 |
commit | b053bc7183c86dc52e68e9891d269992e79a5251 (patch) | |
tree | 1665fff1adb34c4ade7d5361f10cfec75fd5415b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 4bb2bf4c6ad36d5aef9fc7ecd01e89ae4f8d7ec7 (diff) | |
download | linux-b053bc7183c86dc52e68e9891d269992e79a5251.tar.xz |
iommu/mediatek: Move inv_sel_reg into the plat_data
For mt6779, MMU_INV_SEL register's offset is changed from
0x38 to 0x2c, so we can put inv_sel_reg in the plat_data to
use it.
In addition, we renamed it to REG_MMU_INV_SEL_GEN1 and use it
before mt6779.
Signed-off-by: Chao Hao <chao.hao@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Yong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/20200703044127.27438-6-chao.hao@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions