[RFC] Remaining drivers in RPI github tree/which drivers to submit

Michael Zoran mzoran at crowfest.net
Thu Feb 2 15:13:37 PST 2017


On Thu, 2017-02-02 at 19:02 +0100, Stefan Wahren wrote:
> > Michael Zoran <mzoran at crowfest.net> hat am 1. Februar 2017 um 05:27
> > geschrieben:
> > 
> > 
> > Here is a list of the remaining drivers that I know about in the
> > downstream RPI github tree. I was wondering which ones are planned
> > to
> > be submitted and which ones need to stay on github.
> > 
> > dwc_otg     - Host only USB driver(Probably not submittable)
> > bcm2708_fb  - DMA accelerated simple video driver(Also not
> > submittable)
> > vc_cma      - Manages shared memory between GPU and ARM(Never
> > worked
> > well)
> > vc_mem      - Allows for querying the GPU memory and memory mapping
> > it
> > vc_io       - User mode mailbox access
> > vc_sm       - Support for the VC shared memory
> > bcm2835-gpiomem - GPIO access from user mode
> > bcm2835_smi_dev - Driver for secondary memory interface(Not sure
> > what
> > it does).
> > 
> > vc_mem and vc_sm are already mentioned in the TODO list for
> > vchiq/vc04_services to be submitted.
> > 
> > What about the other drivers?
> 
> I think it's pretty pointless to push all downstream driver into
> staging as long as there are only a few active kernel developer
> taking care of them. IMHO we should concentrate on the unfinished
> ones (e.g. thermal, sdhost, dwc2, vchiq, camera) first.

I'm certainly willing to help with dwc2, vchiq, and the camera.  At
least as much as help is desired.

I think vc_cma, vc_mem, and vc_sm need to go into staging IMHO.  That
way all the vchiq based drivers would be in staging, and it would be
possible to start stripping out parts of vchiq and simplifying it. 
Which IMHO, is the biggest blocker of progress with vchiq.

I was planning to submit vc_cma, vc_mem, and vc_sm tonight if nobody
has any objections.

I made a table the other day of which drivers are calling which
functions.  It looks like several of the exported functions could be
stripped right away.

[See attachment]

-------------- next part --------------
interface/vchiq_arm/vchiq_connected.c:EXPORT_SYMBOL(vchiq_add_connected_callback)   -- 	Github(vc_cma/vc_cma.c & vc_sm/vmcs_sm.c)
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_initialise)		    --  Github(vc_cma/vc_cma.c)
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_shutdown)		    --  Github(vc_cma/vc_cma.c)
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_connect)		    --  Github(vc_cma/vc_cma.c)
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_add_service)		    --  Internal Only
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_open_service)		    --  Github(vc_cma/vc_cma.c)
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_queue_bulk_transmit)	    --  Internal Only
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_queue_bulk_receive)	    --  Internal Only
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_bulk_transmit)		    --  Internal Only
interface/vchiq_arm/vchiq_kern_lib.c:EXPORT_SYMBOL(vchiq_bulk_receive)		    --  Internal Only
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_msg_peek)			    --  Github(vc_sm/vc_vchi_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_msg_remove)			    --  Github(vc_sm/vc_vchi_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_msg_queue)			    --  bcm2835/mmal-vchiq.c, bcm2835-audio/bcm2835-vchiq.c, Github(vc_sm/vc_vchi_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_bulk_queue_receive)		    --  bcm2835/mmal-vchiq.c
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_bulk_queue_transmit)	    --  bcm2835-audio/bcm2835-vchiq.c
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_msg_dequeue)		    --  bcm2835-audio/bcm2835-vchiq.c
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_held_msg_release) 		    --  bcm2835/mmal-vchiq.c
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_msg_hold)			    --  bcm2835/mmal-vchiq.c
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_initialise)			    --  bcm2835/mmal-vchiq.c, bcm2835-audio/bcm2835-vchiq.c, Github(vc_sm/vmcs_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_connect)			    --  bcm2835/mmal-vchiq.c, Github(vc_sm/vmcs_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_disconnect) 		    --  Internal Only
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_open)		    --  bcm2835/mmal-vchiq.c, Github(vc_sm/vc_vchi_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_create)		    --  Internal Only
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_close)		    --  Github(vc_sm/vc_vchi_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_destroy)                --  Internal Only
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_set_option)		    --  Internal Only
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_get_peer_version)		    --  bcm2835-audio/bcm2835-vchiq.c
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_use)		    --  bcm2835/mmal-vchiq.c, bcm2835-audio/bcm2835-vchiq.c, Github(vc_sm/vc_vchi_sm.c)
interface/vchiq_arm/vchiq_shim.c:EXPORT_SYMBOL(vchi_service_release)		    --  bcm2835/mmal-vchiq.c, bcm2835-audio/bcm2835-vchiq.c


More information about the linux-rpi-kernel mailing list