Message ID | 1546278403-8306-1-git-send-email-yong.zhi@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/1] media: staging/intel-ipu3: Fix Kconfig for unmet direct dependencies | expand |
Hi Yong, On Mon, Dec 31, 2018 at 11:46:43AM -0600, Yong Zhi wrote: > Fix link error for specific .config reported by lkp robot: > > drivers/staging/media/ipu3/ipu3-dmamap.o: In function `ipu3_dmamap_alloc': > drivers/staging/media/ipu3/ipu3-dmamap.c:111: undefined reference to `alloc_iova' > > Signed-off-by: Yong Zhi <yong.zhi@intel.com> > --- > Happy New Year!! > > drivers/staging/media/ipu3/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/ipu3/Kconfig b/drivers/staging/media/ipu3/Kconfig > index 75cd889f18f7..c486cbbe859a 100644 > --- a/drivers/staging/media/ipu3/Kconfig > +++ b/drivers/staging/media/ipu3/Kconfig > @@ -3,7 +3,7 @@ config VIDEO_IPU3_IMGU > depends on PCI && VIDEO_V4L2 > depends on MEDIA_CONTROLLER && VIDEO_V4L2_SUBDEV_API > depends on X86 > - select IOMMU_IOVA > + select IOMMU_IOVA if IOMMU_SUPPORT I don't think this really addresses the issue: the IOVA library is needed in any case. I'll submit a patch... > select VIDEOBUF2_DMA_SG > ---help--- > This is the Video4Linux2 driver for Intel IPU3 image processing unit, > -- > 2.7.4 >
Hi, Sakari, > -----Original Message----- > From: Sakari Ailus [mailto:sakari.ailus@linux.intel.com] > Sent: Wednesday, January 2, 2019 2:11 PM > To: Zhi, Yong <yong.zhi@intel.com> > Cc: linux-media@vger.kernel.org; tfiga@chromium.org; Mani, Rajmohan > <rajmohan.mani@intel.com>; hans.verkuil@cisco.com; > mchehab@kernel.org; laurent.pinchart@ideasonboard.com; Cao, Bingbu > <bingbu.cao@intel.com>; Qiu, Tian Shu <tian.shu.qiu@intel.com> > Subject: Re: [PATCH 1/1] media: staging/intel-ipu3: Fix Kconfig for unmet > direct dependencies > > Hi Yong, > > On Mon, Dec 31, 2018 at 11:46:43AM -0600, Yong Zhi wrote: > > Fix link error for specific .config reported by lkp robot: > > > > drivers/staging/media/ipu3/ipu3-dmamap.o: In function > `ipu3_dmamap_alloc': > > drivers/staging/media/ipu3/ipu3-dmamap.c:111: undefined reference to > `alloc_iova' > > > > Signed-off-by: Yong Zhi <yong.zhi@intel.com> > > --- > > Happy New Year!! > > > > drivers/staging/media/ipu3/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/media/ipu3/Kconfig > > b/drivers/staging/media/ipu3/Kconfig > > index 75cd889f18f7..c486cbbe859a 100644 > > --- a/drivers/staging/media/ipu3/Kconfig > > +++ b/drivers/staging/media/ipu3/Kconfig > > @@ -3,7 +3,7 @@ config VIDEO_IPU3_IMGU > > depends on PCI && VIDEO_V4L2 > > depends on MEDIA_CONTROLLER && VIDEO_V4L2_SUBDEV_API > > depends on X86 > > - select IOMMU_IOVA > > + select IOMMU_IOVA if IOMMU_SUPPORT > > I don't think this really addresses the issue: the IOVA library is needed in any > case. I'll submit a patch... > Sure, thanks!! > > select VIDEOBUF2_DMA_SG > > ---help--- > > This is the Video4Linux2 driver for Intel IPU3 image processing > > unit, > > -- > > 2.7.4 > > > > -- > Sakari Ailus > sakari.ailus@linux.intel.com
diff --git a/drivers/staging/media/ipu3/Kconfig b/drivers/staging/media/ipu3/Kconfig index 75cd889f18f7..c486cbbe859a 100644 --- a/drivers/staging/media/ipu3/Kconfig +++ b/drivers/staging/media/ipu3/Kconfig @@ -3,7 +3,7 @@ config VIDEO_IPU3_IMGU depends on PCI && VIDEO_V4L2 depends on MEDIA_CONTROLLER && VIDEO_V4L2_SUBDEV_API depends on X86 - select IOMMU_IOVA + select IOMMU_IOVA if IOMMU_SUPPORT select VIDEOBUF2_DMA_SG ---help--- This is the Video4Linux2 driver for Intel IPU3 image processing unit,
Fix link error for specific .config reported by lkp robot: drivers/staging/media/ipu3/ipu3-dmamap.o: In function `ipu3_dmamap_alloc': drivers/staging/media/ipu3/ipu3-dmamap.c:111: undefined reference to `alloc_iova' Signed-off-by: Yong Zhi <yong.zhi@intel.com> --- Happy New Year!! drivers/staging/media/ipu3/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)