e154592a1d
In case the IOMMU API is not available compiling host1x fails with
the following error:
In file included from drivers/gpu/host1x/hw/host1x06.c:27:
drivers/gpu/host1x/hw/channel_hw.c: In function ‘host1x_channel_set_streamid’:
drivers/gpu/host1x/hw/channel_hw.c:118:30: error: implicit declaration of function
‘dev_iommu_fwspec_get’; did you mean ‘iommu_fwspec_free’? [-Werror=implicit-function-declaration]
struct iommu_fwspec *spec = dev_iommu_fwspec_get(channel->dev->parent);
^~~~~~~~~~~~~~~~~~~~
iommu_fwspec_free
Fixes:
|
||
---|---|---|
.. | ||
cdma_hw.c | ||
channel_hw.c | ||
debug_hw_1x01.c | ||
debug_hw_1x06.c | ||
debug_hw.c | ||
host1x01_hardware.h | ||
host1x01.c | ||
host1x01.h | ||
host1x02_hardware.h | ||
host1x02.c | ||
host1x02.h | ||
host1x04_hardware.h | ||
host1x04.c | ||
host1x04.h | ||
host1x05_hardware.h | ||
host1x05.c | ||
host1x05.h | ||
host1x06_hardware.h | ||
host1x06.c | ||
host1x06.h | ||
host1x07_hardware.h | ||
host1x07.c | ||
host1x07.h | ||
hw_host1x01_channel.h | ||
hw_host1x01_sync.h | ||
hw_host1x01_uclass.h | ||
hw_host1x02_channel.h | ||
hw_host1x02_sync.h | ||
hw_host1x02_uclass.h | ||
hw_host1x04_channel.h | ||
hw_host1x04_sync.h | ||
hw_host1x04_uclass.h | ||
hw_host1x05_channel.h | ||
hw_host1x05_sync.h | ||
hw_host1x05_uclass.h | ||
hw_host1x06_channel.h | ||
hw_host1x06_hypervisor.h | ||
hw_host1x06_uclass.h | ||
hw_host1x06_vm.h | ||
hw_host1x07_channel.h | ||
hw_host1x07_hypervisor.h | ||
hw_host1x07_uclass.h | ||
hw_host1x07_vm.h | ||
intr_hw.c | ||
syncpt_hw.c |