On Thu, Jun 09, 2016 at 10:34:40AM +0200, Hans de Goede wrote: > Hi, > > On 09-06-16 09:53, Maxime Ripard wrote: > >Hi Hans, > > > >On Sat, Jun 04, 2016 at 08:10:54PM +0200, Hans de Goede wrote: > >>Hi All, > >> > >>As part of testing that my "ARM: dts: sun5i: Move display blocks to > >>sun5i.dtsi" > >>patch did not break anything I've been trying to get the sun4i-drm kms > >>driver to work on a q8 a13 tablet. > >> > >>I've build the drm / panel bits as modules after doing : > >> > >>[root@localhost ~]# insmod syscopyarea.ko > >>[root@localhost ~]# insmod sysfillrect.ko > >>[root@localhost ~]# insmod sysimgblt.ko > >>[root@localhost ~]# insmod fb_sys_fops.ko > >>[root@localhost ~]# insmod drm.ko > >>[root@localhost ~]# insmod drm_kms_helper.ko > >>[root@localhost ~]# insmod sun4i-tcon.ko > >>[root@localhost ~]# insmod sun4i_backend.ko > >>[root@localhost ~]# insmod panel-simple.ko > >>[root@localhost ~]# insmod sun4i-drm.ko > >> > >>I get the following in dmesg: > >> > >>[ 87.791338] [drm] Initialized drm 1.1.0 20060810 > >>[ 113.883947] panel supply power not found, using dummy regulator > >>[ 119.199189] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). > >>[ 119.210695] [drm] No driver support for vblank timestamp query. > >>[ 119.238295] sun4i-drm display-engine: bound 1e60000.display-backend (ops > >>__mod_of__sun4i_backend_of_table_device_table [sun4i_backend]) > >>[ 119.261666] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops > >>__mod_of__sun4i_tcon_of_table_device_table [sun4i_tcon]) > >>[ 119.287566] checking generic (5fe89000 177000) vs hw (0 ffffffff) > >>[ 119.287599] fb: switching to sun4i-drm-fb from simple > >>[ 119.304752] Console: switching to colour dummy device 80x30 > >>[ 119.319700] sun4i-drm display-engine: No connectors reported connected > >>with modes > >>[ 119.343392] [drm] Cannot find any crtc or sizes - going 1024x768 > >>[ 119.374591] Console: switching to colour frame buffer device 128x48 > >>[ 119.433258] sun4i-drm display-engine: fb0: frame buffer device > >> > >>Esp. notice the "sun4i-drm display-engine: No connectors reported connected > >>with modes" > >>and "[drm] Cannot find any crtc or sizes - going 1024x768" > >> > >>Which clearly is wrong, after this the lcd-panel display becomes > >>a mess, as if it is not getting any video data, which indeed > >>seems to be what is happening. > > > >Which panel is it using? Have you added the panel timings to the > >simple-panel driver? > > This is using the dts patches from Chen-Yu which you've recent merged into > next.
Could you set drm.debug=0xff in the kernel command line, and paste the dmesg output? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
