drm: verisilicon: make vs_dc_platform_driver staticThe platform_driver struct isn't export and is only used for moduleinit/exit functions generated by module_platform_driver() macro.Make it stat
drm: verisilicon: make vs_dc_platform_driver staticThe platform_driver struct isn't export and is only used for moduleinit/exit functions generated by module_platform_driver() macro.Make it static to prevent namespace pollution.Reported-by: kernel test robot <lkp@intel.com>Closes: https://lore.kernel.org/oe-kbuild-all/202603180616.TM6qYvIY-lkp@intel.com/Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>Link: https://patch.msgid.link/20260324060806.2047121-1-zhengxingda@iscas.ac.cn
show more ...
drm: verisilicon: suppress snprintf warning for pixel clock nameAlthough it's generally expected that the pixel clock ID will only haveone decimal digit, this isn't enforced in vs_dc.c source code
drm: verisilicon: suppress snprintf warning for pixel clock nameAlthough it's generally expected that the pixel clock ID will only haveone decimal digit, this isn't enforced in vs_dc.c source code, and thecompiler will argue about the buffer being not long enough.Enlarge the snprintf() buffer for generating pixel clock name to beenough for a UINT_MAX pixel clock ID in order to suppress the compilerwarning.Reported-by: kernel test robot <lkp@intel.com>Closes: https://lore.kernel.org/oe-kbuild-all/202602060154.ONBYvM9m-lkp@intel.com/Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>Link: https://patch.msgid.link/20260207013255.2075294-1-zhengxingda@iscas.ac.cn
drm: verisilicon: add a driver for Verisilicon display controllersThis is a from-scratch driver targeting Verisilicon DC-series displaycontrollers, which feature self-identification functionality
drm: verisilicon: add a driver for Verisilicon display controllersThis is a from-scratch driver targeting Verisilicon DC-series displaycontrollers, which feature self-identification functionality like theirGC-series GPUs.Only DC8200 is being supported now, and only the main framebuffer is setup (as the DRM primary plane). Support for more DC models and morefeatures is my further targets.As the display controller is delivered to SoC vendors as a whole part,this driver does not use component framework and extra bridges inside aSoC is expected to be implemented as dedicated bridges (this driverproperly supports bridge chaining).Signed-off-by: Icenowy Zheng <uwu@icenowy.me>Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>Tested-by: Han Gao <gaohan@iscas.ac.cn>Tested-by: Michal Wilczynski <m.wilczynski@samsung.com>Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>Link: https://patch.msgid.link/20260129023922.1527729-4-zhengxingda@iscas.ac.cn