]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iommu/vt-d: Move intel_iommu_gfx_mapped to Intel IOMMU header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Aug 2020 16:12:11 +0000 (19:12 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Jan 2021 13:24:21 +0000 (14:24 +0100)
commit2d76595b8bab3eb2bc914a88c6bae619ed234357
treedb9d252d8d4933d3906d5ab3b5a32a5b4c1f49dc
parent9af40d9a37698d30ae8f1269a9dc876943121707
iommu/vt-d: Move intel_iommu_gfx_mapped to Intel IOMMU header

BugLink: https://bugs.launchpad.net/bugs/1908561
[ Upstream commit c7eb900f5f45eeab1ea1bed997a2a12d8b5907bc ]

Static analyzer is not happy about intel_iommu_gfx_mapped declaration:

.../drivers/iommu/intel/iommu.c:364:5: warning: symbol 'intel_iommu_gfx_mapped' was not declared. Should it be static?

Move its declaration to Intel IOMMU header file.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200828161212.71294-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Ian May <ian.may@canonical.com>
include/drm/intel-gtt.h
include/linux/intel-iommu.h