<div dir="ltr">Hi Gerd,<div>I've read the patches about the <span style="font-size:12.8000001907349px">virtio-gpu, it's a nice design.</span></div><div><span style="font-size:12.8000001907349px">As far as I know, there are two other drivers used by qemu, CIRRUS and BOCHS.</span></div><div><span style="font-size:12.8000001907349px">I have a question about the relationship of these three drivers, is that the virtio-gpu</span></div><div><span style="font-size:12.8000001907349px">designed to replace the other two drivers? I mean are the CIRRUS and BOCHS</span></div><div><span style="font-size:12.8000001907349px">going to be deprecated in the future?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Would you please kindly explain this a little bit?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Actually, this is a problem by </span><strong style="color:rgb(77,77,77);font-style:italic;padding-right:5px;font-family:Arial,'Helvetica Neue',Helvetica,sans-serif;font-size:12px;line-height:19.2000007629395px;background-color:rgb(240,247,252)">Martin Peres</strong><span style="font-size:12.8000001907349px"> who is the GSoC xorg administor. </span></div><div><span style="font-size:12.8000001907349px">My proposal is "Convert the BOCHS and CIRRUS drivers to atomic mode-setting".</span></div><div><span style="font-size:12.8000001907349px">Martin wonder if the two drivers are going to be deprecated, there is no need for</span></div><div><span style="font-size:12.8000001907349px">me to do the job.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Best regards,</span></div><div><span style="font-size:12.8000001907349px">John </span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 9:15 PM, Gerd Hoffmann <span dir="ltr"><<a href="mailto:kraxel@redhat.com" target="_blank">kraxel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After adding virtio-gpu I get this funky kconfig dependency loop.<br>
<br>
scripts/kconfig/conf --oldconfig Kconfig<br>
drivers/video/fbdev/Kconfig:5:error: recursive dependency detected!<br>
drivers/video/fbdev/Kconfig:5: symbol FB is selected by DRM_KMS_FB_HELPER<br>
drivers/gpu/drm/Kconfig:34: symbol DRM_KMS_FB_HELPER is selected by DRM_VIRTIO_GPU<br>
drivers/gpu/drm/virtio/Kconfig:1: symbol DRM_VIRTIO_GPU depends on VIRTIO<br>
drivers/virtio/Kconfig:1: symbol VIRTIO is selected by REMOTEPROC<br>
drivers/remoteproc/Kconfig:4: symbol REMOTEPROC is selected by OMAP_REMOTEPROC<br>
drivers/remoteproc/Kconfig:12: symbol OMAP_REMOTEPROC depends on OMAP_IOMMU<br>
drivers/iommu/Kconfig:141: symbol OMAP_IOMMU is selected by VIDEO_OMAP3<br>
drivers/media/platform/Kconfig:96: symbol VIDEO_OMAP3 depends on VIDEO_V4L2<br>
drivers/media/v4l2-core/Kconfig:6: symbol VIDEO_V4L2 depends on I2C<br>
drivers/i2c/Kconfig:7: symbol I2C is selected by FB_DDC<br>
drivers/video/fbdev/Kconfig:59: symbol FB_DDC is selected by FB_CYBER2000_DDC<br>
drivers/video/fbdev/Kconfig:374: symbol FB_CYBER2000_DDC depends on FB_CYBER2000<br>
drivers/video/fbdev/Kconfig:362: symbol FB_CYBER2000 depends on FB<br>
<br>
Making VIDEO_OMAP3 depend on OMAP_IOMMU instead of selecting it breaks the<br>
loop, which looks like the best way to handle it to me. I'm open to better<br>
suggestions though.<br>
<br>
Signed-off-by: Gerd Hoffmann <<a href="mailto:kraxel@redhat.com">kraxel@redhat.com</a>><br>
---<br>
drivers/media/platform/Kconfig | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig<br>
index d9b872b..fc21734 100644<br>
--- a/drivers/media/platform/Kconfig<br>
+++ b/drivers/media/platform/Kconfig<br>
@@ -87,8 +87,8 @@ config VIDEO_OMAP3<br>
tristate "OMAP 3 Camera support"<br>
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3<br>
depends on HAS_DMA<br>
+ depends on OMAP_IOMMU<br>
select ARM_DMA_USE_IOMMU<br>
- select OMAP_IOMMU<br>
select VIDEOBUF2_DMA_CONTIG<br>
---help---<br>
Driver for an OMAP 3 camera controller.<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.3.1<br>
<br>
_______________________________________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards<br></div><div>Junwang Zhao</div><div>Microprocessor Research and Develop Center</div><div>Department of Computer Science &Technology</div><div>Peking University</div><div>Beijing, 100871, PRC</div></div></div>
</div>