06-03-2020 07:03 AM
Does xlnx,mixer-3.0 driver support only HDMI-TX /SDI-TX /MIPI DSI-TX not "xlnx,drm"? what is difference between drivers under linux-xlinx//gpu/drm/xlnx and linux-xlinx//gpu/drm/xilinx?
06-04-2020 05:32 AM - edited 06-04-2020 05:34 AM
It seems that invoking "xlnx,drm" directly in device tree was the old way of doing things. The actual name of this driver is xlnx_drv.c. From my understanding, this driver is used by the other various Xilinx driver pieces in order to create an overall DRM display device (which happens when you properly include and configure the other pieces of the pipeline properly).
If you notice, these individual drivers (like mixer) include the xlnx-drm driver and use its calls to actually create a DRM display device. Also, the various drivers may implement different roles of the display pipeline. Mixer implements a CRTC and planes while HDMI-TX, DSI, etc would implement encoder and often connector roles (in the HDMI case). See page 63 of the ZynqMP Targeted Reference Design:
My guess as far as xilinx vs. xlnx - xilinx is probably those drivers as they have been accepted by the mainline kernel tree (xlnx isn't in mainline) vs. the PetaLinux kernel ones. You will also notice they have different device tree compatible strings and the xlnx one has additional drivers as well. The ones you should probably be using are the xlnx/PetaLinux tree drivers.