diff options
Diffstat (limited to 'drivers/gpu/host1x/hw/channel_hw.c')
| -rw-r--r-- | drivers/gpu/host1x/hw/channel_hw.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/gpu/host1x/hw/channel_hw.c b/drivers/gpu/host1x/hw/channel_hw.c index 27101c04a827..4030d64916f0 100644 --- a/drivers/gpu/host1x/hw/channel_hw.c +++ b/drivers/gpu/host1x/hw/channel_hw.c @@ -114,7 +114,7 @@ static inline void synchronize_syncpt_base(struct host1x_job *job)  static void host1x_channel_set_streamid(struct host1x_channel *channel)  { -#if HOST1X_HW >= 6 +#if IS_ENABLED(CONFIG_IOMMU_API) &&  HOST1X_HW >= 6  	struct iommu_fwspec *spec = dev_iommu_fwspec_get(channel->dev->parent);  	u32 sid = spec ? spec->ids[0] & 0xffff : 0x7f; |