This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[OMAP4470/4AJ.2.5P2] SGX issue : " PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [0, ]"

Other Parts Discussed in Thread: SN65DSI83, TWL6032, TWL6030, 4430, TMP102

Hi,

    We are porting a new panel driver on OMAP4470 ES1.0 board with TI software package 4AJ.2.5P2. Due to we have well done this panel driver with the previous TI software package,the value setting of dsi and vm timing on 4AJ2.5P2 are referenced from the old one. But the issue occurs at SGX initialization, we are wondering if this initialization was caused by the timing setting or any other reasons. Followings are kernel message:

Starting kernel ...
 
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.48-02170-g7a3725d-dirty (sjyu@sjyu-desktop) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #17 SMP PREEMPT Fri Aug 8 15:23:40 CST 2014
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: OMAP44XX Tablet board
[    0.000000] Initialized persistent memory from a0000000-a01fffff
[    0.000000] android_display: setting lcd resolution to 1280*800, bpp=4
[    0.000000] android_display: tiler1d 33554432
[    0.000000] android_display: setting fb0.vram to 4096000
[    0.000000] android_display: setting hdmi resolution to 1280*800, bpp=4
[    0.000000] android_display: tiler1d 33554432
[    0.000000] android_display: setting fb1.vram to 8192000
[    0.000000] android_display: setting vram to 12288000
[    0.000000] Cannot detect omap type!
[    0.000000] Reserving 67108864 bytes SDRAM for VRAM
[    0.000000] cma: CMA: reserved 16 MiB at 93800000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] OMAP4: Map 0x94e00000 to 0xfe600000 for dram barrier
[    0.000000] OMAP4470 ES1.0
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1835000 s13056 r8192 d15616 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 157952
[    0.000000] Kernel command line: console=ttyO2,115200n8 androidboot.console=ttyO2 omap_wdt.timer_margin=30 vmalloc=496M omapfb.fb_opt=-1,-1,-1,1,1280,720 omap-cpufreq.safe_suspend_freq=600000000 console=ttyO2,115200n8 androidboot.console=ttyO2 vt.global_cursor_default=0 init=/init vram=64M omapfb.vram=0:16M androidboot.serialno=01518B7313016003 androidboot.bootloader=U-Boot_1.1.4
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 334MB 2MB 289MB = 625MB total
[    0.000000] Memory: 601092k/601092k available, 447484k reserved, 295936K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08d6000   (9016 kB)
[    0.000000]       .init : 0xc08d6000 - 0xc092d300   ( 349 kB)
[    0.000000]       .data : 0xc092e000 - 0xc09d12d0   ( 653 kB)
[    0.000000]        .bss : 0xc09d12f4 - 0xc0b4ad30   (1511 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:626
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000213] Calibrating delay loop... 1590.23 BogoMIPS (lpj=6213632)
[    0.031311] pid_max: default: 32768 minimum: 301
[    0.031463] Security Framework initialized
[    0.031555] Mount-cache hash table entries: 512
[    0.032653] Initializing cgroup subsys debug
[    0.032684] Initializing cgroup subsys cpuacct
[    0.032684] Initializing cgroup subsys freezer
[    0.032684] Initializing cgroup subsys net_cls
[    0.032745] CPU: Testing write buffer coherency: ok
[    0.032928] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.033172] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[    0.033294] Setting up static identity map for 0x80676ff0 - 0x80677048
[    0.033325] L310 cache controller enabled
[    0.033325] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x7e470000, Cache size: 1048576 B
[    0.033752] generating sar_ram layout...
[    0.033935] sar ram layout created
[    0.111633] CPU1: Booted secondary processor
[    0.181640] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.181671] CPU1: Unknown IPI message 0x1
[    0.181671] Brought up 2 CPUs
[    0.181701] SMP: Total of 2 processors activated (3188.82 BogoMIPS).
[    0.189880] omap_hwmod: aess: _wait_target_disable failed
[    0.192596] omap_hwmod: dss_dispc: cannot be enabled (3)
[    0.195190] omap_hwmod: dss_dsi1: cannot be enabled (3)
[    0.197814] omap_hwmod: dss_dsi2: cannot be enabled (3)
[    0.200439] omap_hwmod: dss_hdmi: cannot be enabled (3)
[    0.203033] omap_hwmod: dss_rfbi: cannot be enabled (3)
[    0.205657] omap_hwmod: dss_venc: cannot be enabled (3)
[    0.209350] omap_hwmod: mcpdm: cannot be enabled (3)
[    0.211151] omap_device: cannot add global notifier for dev PM QoS
[    0.211639] dummy:  
[    0.212524] NET: Registered protocol family 16
[    0.230590] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.230926] GPMC revision 6.0
[    0.232391] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.232452] OMAP GPIO hardware version 0.1
[    0.232574] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.232757] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.232940] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.233093] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[    0.233276] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[    0.234466] omap_mux_init: Add partition: #1: core, flags: 2
[    0.235229] omap_mux_init: Add partition: #2: wkup, flags: 2
[    0.240905] dmm dmm: initialized all PAT entries
[    0.241027] ===> SN65DSI83 tablet_display_init!
[    0.241149] =========== pwm gpio high =============
[    0.242279] omap_mux_get_by_name: Could not find signal csi22_dx2.csi22_dx2
[    0.242309] omap_mux_get_by_name: Could not find signal csi22_dy2.csi22_dy2
[    0.242828] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.242858] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.246063]  omap-mcbsp.1: alias pad_fck already exists
[    0.246215]  omap-mcbsp.2: alias pad_fck already exists
[    0.246337]  omap-mcbsp.3: alias pad_fck already exists
[    0.246459]  omap-mcbsp.4: alias pad_fck already exists
[    0.247161] OMAP DMA hardware revision 0.0
[    0.247680] emif emif.1: emif_probe: device configured with addr = e0986000 and IRQ142
[    0.247894] emif emif.2: emif_probe: device configured with addr = e0988000 and IRQ143
[    0.249206] SmartReflex Recalibration delay = 86400000ms
[    0.249237] SmartReflex Class 1.5 initialized
[    0.249542] Reprogramming LPDDR2 timings to 933333333 Hz
[    0.257019] bio: create slab <bio-0> at 0
[    0.257629] VBAT: 3750 mV  
[    0.257843] vwl1271: 1800 mV  
[    0.258697] SCSI subsystem initialized
[    0.258972] usbcore: registered new interface driver usbfs
[    0.259063] usbcore: registered new interface driver hub
[    0.259185] usbcore: registered new device driver usb
[    0.260070] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 400 kHz
[    0.261016] twl_core: detected twl6032 rev.2 eepromrev.55
[    0.262207] twl 1-0048: PIH (irq 39) chaining IRQs 416..436
[    0.263153] LDOUSB: 3300 mV normal standby
[    0.266601] twl6030_usb twl6030_usb: Initialized TWL6030 USB module
[    0.267456] VANA: 2100 mV normal standby
[    0.268127] CLK32KAUDIO:  
[    0.269042] SYSEN:  
[    0.269958] REGEN1:  
[    0.270599] CLK32KG:  
[    0.270874] V2V1: 2100 mV normal  
[    0.270904] V2V1: supplied by SYSEN
[    0.271667] LDO5: 1200 <--> 3000 mV at 1800 mV normal standby
[    0.272521] LDO1: 1800 <--> 2500 mV at 1900 mV normal standby
[    0.273376] LDO7: 1200 <--> 2900 mV at 1800 mV normal standby
[    0.274475] LDO6: 1800 mV normal standby
[    0.274658] LDO6: supplied by V2V1
[    0.275939] LDOLN: 1800 mV normal standby
[    0.276123] LDOLN: supplied by V2V1
[    0.277008] LDO2: 1000 <--> 3000 mV at 2800 mV normal standby
[    0.277893] LDO4: 1200 <--> 2800 mV at 1800 mV normal standby
[    0.278747] LDO3: 1000 <--> 3000 mV at 1200 mV normal standby
[    0.279968] SMPS4: 1800 mV normal standby
[    0.280639] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 400 kHz
[    0.281005] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 400 kHz
[    0.281341] omap_i2c omap_i2c.4: bus 4 rev2.4.0 at 400 kHz
[    0.282196] Linux video capture interface: v2.00
[    0.282257] sr_init: No PMIC hook to init smartreflex
[    0.282775] omap-iommu omap-iommu.0: dsp registered
[    0.282867] omap-iommu omap-iommu.1: ipu registered
[    0.283050] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.283691] Bluetooth: Core ver 2.16
[    0.283752] NET: Registered protocol family 31
[    0.283752] Bluetooth: HCI device and connection manager initialized
[    0.283752] Bluetooth: HCI socket layer initialized
[    0.283782] Bluetooth: L2CAP socket layer initialized
[    0.283813] Bluetooth: SCO socket layer initialized
[    0.285278] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    0.285705] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    0.286132] smartreflex smartreflex.2: omap_sr_probe: SmartReflex driver initialized
[    0.286163] Power Management for TI OMAP4XX/OMAP5XXX devices.
[    0.286499] omap_opp_set_min_rate: Missing opp info for hwmod dsp_c0
[    0.286529] Forcing clock virt_dpll_dsp_ck to minimum rate 232750000
[    0.286560] omap_opp_set_min_rate: Missing opp info for hwmod hsi
[    0.286560] Forcing clock hsi_fck to minimum rate 96000000
[    0.287261] Switching to clocksource 32k_counter
[    0.304809] NET: Registered protocol family 2
[    0.305084] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.305694] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.306671] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.307739] TCP: Hash tables configured (established 65536 bind 65536)
[    0.307739] TCP: reno registered
[    0.307769] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.307800] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.308105] NET: Registered protocol family 1
[    0.308471] RPC: Registered named UNIX socket transport module.
[    0.308471] RPC: Registered udp transport module.
[    0.308502] RPC: Registered tcp transport module.
[    0.308502] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.308593] usbhs_omap usbhs_omap: ehci_logic_fck failed:-2
[    0.309509] Trying to unpack rootfs image as initramfs...
[    0.323150] Freeing initrd memory: 180K
[    0.323547] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.324310]  omap-rproc.1: alias fck already exists
[    0.324920] persistent_ram: uncorrectable error in header
[    0.324920] persistent_ram: no valid data in buffer (sig = 0x55555545)
[    0.343536] sr_classp5_calib_work: smartreflex_core: Calibration complete: Voltage Nominal=1190000 Calib=1114120 Dyn=1164120 OPP_margin=0 total_margin=0
[    0.343566] sr_classp5_calib_work: smartreflex_mpu: Calibration complete: Voltage Nominal=1200000 Calib=1063480 Dyn=1113480 OPP_margin=0 total_margin=0
[    0.343627] sr_classp5_calib_work: smartreflex_iva: Calibration complete: Voltage Nominal=962000 Calib=810280 Dyn=860280 OPP_margin=0 total_margin=0
[    0.344177] console [ram-1] enabled
[    0.474212] highmem bounce pool size: 64 pages
[    0.475494] fuse init (API version 7.18)
[    0.475830] msgmni has been set to 628
[    0.477630] io scheduler noop registered
[    0.477722] io scheduler deadline registered
[    0.477935] io scheduler cfq registered (default)
[    0.479217] OMAP DSS rev 4.1
[    0.500732]  
[    0.500762] sn65dsi83_i2c_probe enter !
[    0.500976] d2l 2-002c: D2L i2c initialized
[    0.501281] omapdss DSI error: can't get regulator for panel
[    0.501678] ===> sn65dsi83_probe ==================
[    0.501831] ===> sn65dsi83_probe done ==================
[    0.502258] dsscomp: initializing.
[    0.502410] misc dsscomp: found 2 displays and 4 overlays, WB overlay 1
[    0.503356] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
[    0.503875] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
[    1.676391] console [ttyO2] enabled
[    1.680725] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
[    1.689056] [drm] Initialized drm 1.1.0 20060810
[    1.694335] omap_ion_probe: adding heap secure_input of type 2 with ba300000@5a00000
[    1.702880] omap_ion_probe: adding heap tiler of type 4 with b4300000@6000000
[    1.710693] omap_ion_probe: adding heap nonsecure_tiler of type 4 with a0200000@2000000
[    1.719482] omap_ion_probe: adding heap system of type 0 with 0@0
[    1.726226] omap_ion_probe: adding heap tiler_reservation of type 5 with 0@0
[    1.741851] brd: module loaded
[    1.749267] loop: module loaded
[    1.752929] (stk) :sysfs entries created
[    1.757293] (stk) : debugfs entries created  
[    1.761871] (hci_tty): inside hci_tty_init
[    1.766815] (hci_tty): allocated 252, 0
[    1.771026] AK8975 compass driver: init
[    1.794281] NFC Driver for TI WiLink
[    1.798217] (nfcdrv) nfc_drv_probe: allocated major 250, minor 0
[    1.805816] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.813903] omap2_mcspi omap2_mcspi.1: master is unqueued, this is deprecated
[    1.822204] omap2_mcspi omap2_mcspi.2: master is unqueued, this is deprecated
[    1.830352] omap2_mcspi omap2_mcspi.3: master is unqueued, this is deprecated
[    1.838531] omap2_mcspi omap2_mcspi.4: master is unqueued, this is deprecated
[    1.846618] tun: Universal TUN/TAP device driver, 1.6
[    1.852233] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.859100] ------------[ cut here ]------------
[    1.864257] WARNING: at drivers/base/dd.c:259 driver_probe_device+0x1d8/0x224()
[    1.872222] Modules linked in:
[    1.875762] Backtrace:  
[    1.878601] [<c0017b74>] (dump_backtrace+0x0/0x10c) from [<c0666cd8>] (dump_stack+0x18/0x1c)
[    1.887847]  r6:00000103 r5:c02e273c r4:00000000 r3:c0990c50
[    1.894409] [<c0666cc0>] (dump_stack+0x0/0x1c) from [<c00467f4>] (warn_slowpath_common+0x54/0x6c)
[    1.904144] [<c00467a0>] (warn_slowpath_common+0x0/0x6c) from [<c0046830>] (warn_slowpath_null+0x24/0x2c)
[    1.914611]  r8:c09af02c r7:00000000 r6:d304b234 r5:c0a3d54c r4:d304b200
[    1.922088] r3:00000009
[    1.925201] [<c004680c>] (warn_slowpath_null+0x0/0x2c) from [<c02e273c>] (driver_probe_device+0x1d8/0x224)
[    1.935791] [<c02e2564>] (driver_probe_device+0x0/0x224) from [<c02e281c>] (__driver_attach+0x94/0x98)
[    1.945922]  r8:c08d6208 r7:00000000 r6:d304b234 r5:c09af02c r4:d304b200
[    1.953460] r3:00000000
[    1.956512] [<c02e2788>] (__driver_attach+0x0/0x98) from [<c02e0cd4>] (bus_for_each_dev+0x68/0x9c)
[    1.966339]  r6:c02e2788 r5:00000000 r4:c09af02c r3:c02e2788
[    1.972869] [<c02e0c6c>] (bus_for_each_dev+0x0/0x9c) from [<c02e213c>] (driver_attach+0x24/0x28)
[    1.982513]  r6:d30588c0 r5:c09ae9ac r4:c09af02c
[    1.987884] [<c02e2118>] (driver_attach+0x0/0x28) from [<c02e1d80>] (bus_add_driver+0x180/0x240)
[    1.997467] [<c02e1c00>] (bus_add_driver+0x0/0x240) from [<c02e2d18>] (driver_register+0x80/0x134)
[    2.007385] [<c02e2c98>] (driver_register+0x0/0x134) from [<c035da70>] (spi_register_driver+0x4c/0x60)
[    2.017578]  r8:c08d6208 r7:c09d1300 r6:00000000 r5:00000006 r4:d482e000
[    2.025146] r3:00000000
[    2.028228] [<c035da24>] (spi_register_driver+0x0/0x60) from [<c090020c>] (ks8851_init+0x14/0x1c)
[    2.037963] [<c09001f8>] (ks8851_init+0x0/0x1c) from [<c0008698>] (do_one_initcall+0x11c/0x184)
[    2.047454] [<c000857c>] (do_one_initcall+0x0/0x184) from [<c08d698c>] (kernel_init+0x104/0x1c4)
[    2.057098] [<c08d6888>] (kernel_init+0x0/0x1c4) from [<c004a708>] (do_exit+0x0/0x804)
[    2.065826] Board Information:  
[    2.065826]  Revision : 0010
[    2.065826]  Serial    : 0000000000000000
[    2.065826] SoC Information:
[    2.065826]  CPU    : OMAP4470
[    2.065826]  Rev    : ES1.0
[    2.065856]  Type    : GP
[    2.065856]  Production ID: 0002B975-000000F0
[    2.065856]  Die ID    : 6CFC0000-30002FFF-01518B73-13016003
[    2.065856]  
[    2.100799] ---[ end trace e75896e336041ebd ]---
[    2.105926] ks8851 spi1.0: message enable is 0
[    2.112915] ks8851 spi1.0: failed to read device ID
[    2.118927] usbcore: registered new interface driver asix
[    2.124908] usbcore: registered new interface driver cdc_ether
[    2.131439] usbcore: registered new interface driver smsc95xx
[    2.137786] usbcore: registered new interface driver net1080
[    2.144073] usbcore: registered new interface driver cdc_subset
[    2.150604] usbcore: registered new interface driver zaurus
[    2.156860] usbcore: registered new interface driver cdc_ncm
[    2.163452] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.183593] ehci: omap_ehci_ulpi_write: Error
[    3.188568] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.195129] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[    3.204467] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
[    3.224822] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.231323] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.238769] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.246704] usb usb1: Product: OMAP-EHCI Host Controller
[    3.252532] usb usb1: Manufacturer: Linux 3.4.48-02170-g7a3725d-dirty ehci_hcd
[    3.260467] usb usb1: SerialNumber: ehci-omap.0
[    3.265991] hub 1-0:1.0: USB hub found
[    3.270202] hub 1-0:1.0: 3 ports detected
[    3.303222] usbcore: registered new interface driver cdc_wdm
[    3.309387] Initializing USB Mass Storage driver...
[    3.314910] usbcore: registered new interface driver usb-storage
[    3.321472] USB Mass Storage support registered.
[    3.326721] usbcore: registered new interface driver libusual
[    3.333068] usbcore: registered new interface driver usbtest
[    3.339324] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    3.546630] musb-hdrc musb-hdrc: USB OTG mode controller at e0b12000 using DMA, IRQ 124
[    3.555877] file system registered
[    3.560913]  gadget: Mass Storage Function, version: 2009/09/11
[    3.567443]  gadget: Number of LUNs=1
[    3.571472]  lun0: LUN: removable file: (no medium)
[    3.577148]  gadget: android_usb ready
[    3.781433] musb-hdrc musb-hdrc: MUSB HDRC host driver
[    3.787261] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 2
[    3.795318] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.802764] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.810668] usb usb2: Product: MUSB HDRC host driver
[    3.816192] usb usb2: Manufacturer: Linux 3.4.48-02170-g7a3725d-dirty musb-hcd
[    3.824066] usb usb2: SerialNumber: musb-hdrc
[    3.829467] hub 2-0:1.0: USB hub found
[    3.833587] hub 2-0:1.0: 1 port detected
[    3.873474] mousedev: PS/2 mouse device common for all mice
[    3.880645] twl6030_pwrbutton_probe: Enter
[    3.885467] input: twl6030_pwrbutton as /devices/platform/omap_i2c.1/i2c-1/1-0049/twl6030_pwrbutton/input/input0
[    3.938110] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    3.944976] i2c /dev entries driver
[    3.949401] usbcore: registered new interface driver uvcvideo
[    3.955780] USB Video Class driver (1.1.1)
[    3.960449] Driver for 1-wire Dallas network protocol.
[    3.966430] bq2415x_charger 1-006a: i2c_write failed to transfer all messages
[    3.974304] bq2415x_charger 1-006a: chip not present at address 6a
[    3.981140] bq2415x_charger: probe of 1-006a failed with error -22
[    4.001007] twl6030_bci twl6030_bci: Battery Voltage at Bootup is 4430 mV
[    4.015380] report_temperature_delayed_work_fn: Fail to set temp
[    4.022644] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 30 sec
[    4.031524] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    4.042541] cpuidle: using governor ladder
[    4.047698] cpuidle: using governor menu
[    4.062316] usbcore: registered new interface driver usbhid
[    4.068450] usbhid: USB HID core driver
[    4.072967] ashmem: initialized
[    4.076721] logger: created 256K log 'log_main'
[    4.081787] logger: created 256K log 'log_events'
[    4.087005] logger: created 256K log 'log_radio'
[    4.092193] logger: created 256K log 'log_system'
[    4.097534] omap_governor_init: domain cpu slope 308 const -7896
[    4.104217] thermal_get_slope:Getting slope is not supported for domain gpu
[    4.111877] thermal_get_offset:Getting offset is not supported for domain gpu
[    4.120727] omap_governor_init: domain gpu slope -22 const -22
[    4.129180] tmp102_temp_sensor 4-0048: tmp102_read_reg: I2C read error
[    4.136352] tmp102_temp_sensor 4-0048: error reading config register
[    4.143280] tmp102_temp_sensor: probe of 4-0048 failed with error -121
[    4.150726] rproc remoteproc0: ipu_c0 is available
[    4.155975] rproc remoteproc0: Note: remoteproc is still under development and considered experimental.
[    4.166229] rproc remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    4.178192] OMAP HSI: HSI driver version 0.4.4
[    4.183471] usbcore: registered new interface driver snd-usb-audio
[    4.195678] aess aess: ABE Firmware version 9560
[    4.235870] asoc: snd-soc-dummy-dai <-> MultiMedia1 mapping ok
[    4.243194] asoc: snd-soc-dummy-dai <-> MultiMedia2 mapping ok
[    4.251312] asoc: snd-soc-dummy-dai <-> Voice mapping ok
[    4.258026] asoc: snd-soc-dummy-dai <-> Tones mapping ok
[    4.264831] asoc: snd-soc-dummy-dai <-> Vibra mapping ok
[    4.270874] asoc: snd-soc-dummy-dai <-> MODEM mapping ok
[    4.276855] mmc0: new high speed MMC card at address 0001
[    4.282989] asoc: snd-soc-dummy-dai <-> MultiMedia1 LP mapping ok
[    4.289642] mmcblk0: mmc0:0001 SEM64G 58.2 GiB  
[    4.294738] mmcblk0boot0: mmc0:0001 SEM64G partition 1 4.00 MiB
[    4.301239] asoc: snd-soc-dummy-dai <-> omap-mcbsp.2 mapping ok
[    4.307861] mmcblk0boot1: mmc0:0001 SEM64G partition 2 4.00 MiB
[    4.316101] asoc: twl6040-legacy <-> mcpdm-legacy mapping ok
[    4.323394] asoc: dit-hifi <-> mcasp-legacy mapping ok
[    4.330139] asoc: dmic-hifi <-> omap-dmic mapping ok
[    4.336151] asoc: twl6040-dl1 <-> mcpdm-dl1 mapping ok
[    4.341766] Alternate GPT is invalid, using primary GPT.
[    4.347625]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[    4.353149] asoc: twl6040-ul <-> mcpdm-ul1 mapping ok
[    4.360076] asoc: twl6040-dl2 <-> mcpdm-dl2 mapping ok
[    4.365844] asoc: twl6040-vib <-> mcpdm-vib mapping ok
[    4.371490]  mmcblk0boot1: unknown partition table
[    4.377136] asoc: snd-soc-dummy-dai <-> omap-mcbsp.1 mapping ok
[    4.383758] asoc: snd-soc-dummy-dai <-> omap-mcbsp.1 mapping ok
[    4.390228]  mmcblk0boot0: unknown partition table
[    4.395751] asoc: snd-soc-dummy-dai <-> omap-mcbsp.2 mapping ok
[    4.402465] asoc: snd-soc-dummy-dai <-> omap-mcbsp.2 mapping ok
[    4.409210] asoc: snd-soc-dummy-dai <-> omap-mcbsp.2 mapping ok
[    4.415863] asoc: dmic-hifi <-> omap-dmic-abe-dai-0 mapping ok
[    4.422424] asoc: dmic-hifi <-> omap-dmic-abe-dai-1 mapping ok
[    4.428894] asoc: dmic-hifi <-> omap-dmic-abe-dai-2 mapping ok
[    4.435363] asoc: snd-soc-dummy-dai <-> omap-abe-vxrec-dai mapping ok
[    4.442474] asoc: snd-soc-dummy-dai <-> omap-abe-echo-dai mapping ok
[    4.450164] input: tablet Headset Jack as /devices/platform/omap-abe-twl6040/sound/card0/input1
[    4.461883] asoc: omap-hdmi-hifi <-> omap-hdmi-audio-dai mapping ok
[    4.469360] oprofile: using arm/armv7-ca9
[    4.474853] GACT probability NOT on
[    4.480712] Mirror/redirect action on
[    4.484771] u32 classifier
[    4.487731]     Actions configured
[    4.491577] Netfilter messages via NETLINK v0.30.
[    4.496765] nf_conntrack version 0.5.0 (9650 buckets, 38600 max)
[    4.503570] ctnetlink v0.93: registering with nfnetlink.
[    4.509429] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    4.517059] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    4.523590] xt_time: kernel timezone is -0000
[    4.528625] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.534729] arp_tables: (C) 2002 David S. Miller
[    4.539855] TCP: cubic registered
[    4.544555] Initializing XFRM netlink socket
[    4.549407] NET: Registered protocol family 10
[    4.555053] Mobile IPv6
[    4.557800] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    4.563781] IPv6 over IPv4 tunneling driver
[    4.569122] NET: Registered protocol family 17
[    4.573974] NET: Registered protocol family 15
[    4.579162] Bridge firewalling registered
[    4.583679] Bluetooth: RFCOMM TTY layer initialized
[    4.588989] Bluetooth: RFCOMM socket layer initialized
[    4.594543] Bluetooth: RFCOMM ver 1.11
[    4.598663] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.604431] Bluetooth: BNEP filters: protocol multicast
[    4.610198] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.617736] NET: Registered protocol family 35
[    4.624694] NET: Registered protocol family 37
[    4.629577] NET: Registered protocol family 40
[    4.634613] safe_suspend_freq_set: suspend will take place at frequency 800000000
[    4.642913] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    4.651428] ThumbEE CPU extension supported.
[    4.656127] Registering SWP/SWPB emulation handler
[    4.669250] clock: disabling unused clocks to save power
[    4.901519] mmc2: card claims to support voltages below the defined range. These will be ignored.
[    4.924957] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    4.932342] mmc2: new high speed SDIO card at address 0001
[    5.026580] cannot apply mgr(lcd) on inactive device
[    5.032257] cannot apply mgr(lcd) on inactive device
[    5.038116] omapfb omapfb: failed to apply dispc config
[    5.044036] cannot apply mgr(tv) on inactive device
[    5.050750] omapfb omapfb: failed to apply dispc config
[    5.058654] cannot aply mgr(lcd2)--invalid device
[    5.064056] omapfb omapfb: failed to apply dispc config
[    5.069885]  
[    5.069885]  ==========sn65dsi83_enable ========  
[    5.076721] ===> sn65dsi83_power_on ==================
[    5.086669] ===> DSI_DSIPHY_CFG0 = 122a1322  
[    5.091339] ===> DSI_DSIPHY_CFG1 = 4206103c  
[    5.096069] ===> DSI_DSIPHY_CFG2 = b800000f  
[    5.100769] ===> DSI_VM_TIMING7 = 100011
[    5.105102] ===> DSI_VM_TIMING1 = 2404f
[    5.109374] ===> DSI_VM_TIMING2 = 406030e
[    5.113739] ===> DSI_VM_TIMING3 = 4370320
[    5.118164] ===> DSI_VM_TIMING4 = 1d
[    5.122131] ===> DSI_VM_TIMING5 = 0
[    5.125946] ===> DSI_VM_TIMING6 = 200001b
[    5.131378] ===> omapdss_dsi_display_enable pass ==================
[    5.654602] ===> sn65dsi83_power_on sn65dsi83_CSR_init ==================
[    5.662292] ===> sn65dsi83_CSR_init  
[    5.678405] ===> sn65dsi83_power_on dsi_enable_video_output ==================
[    5.990570] sr_classp5_calib_work: smartreflex_mpu: Calibration complete: Voltage Nominal=1037000 Calib=911560 Dyn=961560 OPP_margin=0 total_margin=0
[    6.194427] PLL is locked !
[    6.224853]  === power_on done will return 0 ===
[    6.230560]  
[    6.230560]  ==========sn65dsi83_enable OMAP_DSS_DISPLAY_ACTIVE ========
[    6.243316] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[    6.252685] twl_rtc twl_rtc: setting system clock to 2000-01-01 03:57:38 UTC (946699058)
[    6.261749] ALSA device list:
[    6.265289]   #0: tablet
[    6.268096]   #1: OMAPHDMI
[    6.271545] Freeing init memory: 348K
[    6.280731] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[    6.342071] sr_classp5_calib_work: smartreflex_mpu: Calibration complete: Voltage Nominal=1387000 Calib=1354660 Dyn=1387000 OPP_margin=0 total_margin=0
[    6.357055] init: could not open /dev/keychord
[    6.444061] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
[    6.460174] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    6.493560] EXT4-fs (mmcblk0p9): recovery complete
[    6.500183] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    6.545562] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/omap/omap_hsmmc.1/by-name/cache
[    6.766662] rproc remoteproc0: skipping power up until last virtio device ipu_c0
[    6.774963] virtio_rpmsg_bus virtio0: rpmsg host is online
[    6.780944] rproc remoteproc0: registered virtio0 (type 7)
[    6.787017] rproc remoteproc0: powering up ipu_c0
[    6.801086] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[    6.828857] rproc remoteproc0: Booting fw image ducati-m3-core0.xem3, size 6806939
[    6.906555] EXT4-fs (mmcblk0p10): recovery complete
[    6.913085] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[    6.967895] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/omap/omap_hsmmc.1/by-name/userdata
[    6.998687] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[    7.051116] omap-iommu omap-iommu.1: ipu: version 2.1
[    7.060180] rproc remoteproc0: remote processor ipu_c0 is now up
[    7.067504] virtio_rpmsg_bus virtio1: rpmsg host is online
[    7.073394] rproc remoteproc0: registered virtio1 (type 7)
[    7.080444] omap-rproc omap-rproc.1: received echo reply from ipu_c0
[    7.088134] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
[    7.096893] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
[    7.105285] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx0 addr 0x3c
[    7.112976] rpmsg_omx rpmsg-omx0: new OMX connection srv channel: 1024 -> 60!
[    7.137115] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx1 addr 0x3c
[    7.145385] rpmsg_omx rpmsg-omx1: new OMX connection srv channel: 1024 -> 60!
[    7.153717] virtio_rpmsg_bus virtio1: creating channel omaprpc addr 0x3b
[    7.160461] init: cannot find '/system/bin/shm_service', disabling 'shm_service'
[    7.160797] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[    7.161499] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[    7.161804] init: cannot find '/system/bin/supl20clientd', disabling 'supl20clientd'
[    7.161834] init: cannot find '/system/bin/arxd', disabling 'arxd'
[    7.218872] Compat-wireless backport release: ol_r8.a5.08
[    7.224884] HDCP: failed to load keys
[    7.224884]  
[    7.230529] Backport based on wl18xx.git ol_r8.a5.13
[    7.236694] compat.git: wl18xx.git
[    7.709930] PVR: PVRCore_Init
[    7.714324] PVR: LinuxMMInit: Maximum page pool size: 10800
[    7.715972] cfg80211: Calling CRDA to update world regulatory domain
[    7.727661] PVR: PVRSRVDriverProbe(pDevice=d48e9a00)
[    7.733276] PVR: SGX register base: 0x56000000
[    7.738098] PVR: SGX register size: 65535
[    7.742858] PVR: SGX IRQ: 53
[    7.748321] PVR: EnableSystemClocks: Enabling System Clocks
[    7.756103] PVR: PVRCore_Init: major device 245
[    7.834655] cfg80211: World regulatory domain updated:
[    7.840332] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    7.849365] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.857849] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.866455] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.874786] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.883148] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.290130] virtio_rpmsg_bus virtio1: creating channel rpmsg-resmgr addr 0x66
[    8.298858] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [0, ]
[    8.324798] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [0, ]
[    8.533538] PVR: Installing MISR with cookie bf04774c
[    8.539245] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie d2c4d380
[    8.547241] PVR: SysFinalise: Version string: SGX revision = 1.1.2
[    8.554168] omaplfb: OMAPLFBInitFBDev: Device 2: invalid framebuffer size
[    8.618072] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
[    8.648590] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)
[    8.677825] virtio_rpmsg_bus virtio1: destroying channel rpmsg-resmgr addr 0x66
[    8.743499] wlcore: wl12xx driver version: android-3.4-5AJ.1.4-2170-g7a3725d-dirty
[    8.860351] wlcore: wl18xx driver version: android-3.4-5AJ.1.4-2170-g7a3725d-dirty
[    8.920928] android_usb: already disabled
[    8.925476] android_usb: already disabled
[    8.929962] android_usb: already disabled
[    8.935516] warning: `adbd' uses 32-bit capabilities (legacy support in use)
[    8.943420] adb_open
[    8.945831] mtp_bind_config
[    8.948883] adb_bind_config
shell@android:/ $ [    9.287719] init: untracked pid 113 exited
[   12.550445]  
[   12.550445]  ==========sn65dsi83_enable ========  
[   12.550445] ===> sn65dsi83_power_on ==================
[   12.553405] ===> DSI_DSIPHY_CFG0 = 122a1322  
[   12.553436] ===> DSI_DSIPHY_CFG1 = 4206103c  
[   12.553436] ===> DSI_DSIPHY_CFG2 = b800000f  
[   12.553466] ===> DSI_VM_TIMING7 = 100011
[   12.553497] ===> DSI_VM_TIMING1 = 2404f
[   12.553497] ===> DSI_VM_TIMING2 = 406030e
[   12.553527] ===> DSI_VM_TIMING3 = 4370320
[   12.553527] ===> DSI_VM_TIMING4 = 1d
[   12.553527] ===> DSI_VM_TIMING5 = 0
[   12.553558] ===> DSI_VM_TIMING6 = 200001b
[   12.553588] ===> omapdss_dsi_display_enable pass ==================
[   12.553619] ===> sn65dsi83_power_on NOT FIRSTINT omapdss_dsi_vc_enable_hs ==================
[   12.553680] ===> sn65dsi83_power_on done ==================
[   12.553710]  
[   12.553710]  ==========sn65dsi83_enable OMAP_DSS_DISPLAY_ACTIVE ========
[   15.018463] request_suspend_state: wakeup (3->0) at 15012390140 (2000-01-01 03:57:47.257904054 UTC)
[   15.068695] sr_classp5_calib_work: smartreflex_mpu: Calibration complete: Voltage Nominal=1312000 Calib=1190080 Dyn=1240080 OPP_margin=0 total_margin=0
[   15.404663] sr_classp5_calib_work: smartreflex_mpu: Calibration complete: Voltage Nominal=1375000 Calib=1329340 Dyn=1375000 OPP_margin=0 total_margin=0
[   15.574554] acc_open
[   15.577117] acc_release

  regards,

Sean

  • Hi Sean,

    I don't think this is a problem with your DSI timings.  It is more likely to be a warning from SGX KM sources.

    Does your kernel boots OK, despite the PVR error message: "[    8.324798] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [0, ] " ? If yes, do you have problems with your panel?

    Do you use pre-built SGX binary? If not can you try to rebuild the SGX sources pointing to your own kernel?

    Could you share your bootargs?

    Best Regards,

    Yordan

  • Hi Yordan,

        Thank you for your input. If skip the PVR_K error , we can not measure the data signal (MIPI differential base signal can be output, but data signal is none) on data lane of MIPI during boot animation. We have tried that the boot animation actually can be executed and launch to the main frame if HDMI output is detected. The SGX binary we are using is the pre-build binary of SGX544_112.You can see the attached for the library loading message on logcat. The SGX library was loaded successfully. And please be kindly noted that the frame buffer setting was changed on board-44xx-tablet-panel.c and boot options,and different from the previous post.Followings are the modifications.

        1. The dsi timing now is changed to match our old software version setting.

        2. bootargs: console=ttyO2,115200n8 androidboot.console=ttyO2 omap_wdt.timer_margin=30 vmalloc=496M omapfb.fb_opt=-1,-1,-1,1,1280,720 omap-cpufreq.safe_suspend_freq=600000000 console=ttyO2,115200n8 androidboot.console=ttyO2 vt.global_cursor_default=0 init=/init vram=64M omapfb.vram=0:32M androidboot.serialno=01518B7313016003 androidboot.bootloader=U-Boot_1.1.4

       3.board-44xx-tablet-panel.c : #define TABLET_FB_RAM_SIZE        SZ_64M

       4.board-44xx-tablet-panel.c:

         static struct omap_dss_device lcd_sn65dsi83_hannstar_hsd101pww1 = {
        .name                   = "lcd",
        .driver_name            = "sn65dsi83",
        .type                   = OMAP_DISPLAY_TYPE_DSI,
        .data            = &dsi_data_sn65dsi83_hannstar_hsd101pww1,
        .phy.dsi                = {
            .clk_lane       = 4,
            .clk_pol        = 1,
            .data1_lane     = 1,
            .data1_pol      = 1,
            .data2_lane     = 2,
            .data2_pol      = 1,
            .data3_lane     = 3,
            .data3_pol      = 1,
            .data4_lane     = 0, //<== not used
            .data4_pol      = 0,

           .module        = 0,
        },
        .clocks = {
            .dispc = {
                 .channel = {
                    .lck_div        = 1,
                    .pck_div        = 2,
                    .lcd_clk_src    = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
                },
                .dispc_fclk_src = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DISPC,
            },
            .dsi = {
                .regn           = 24,
                .regm           = 312,
                .regm_dispc     = 7,
                .regm_dsi       = 5,
                .lp_clk_div     = 9,
                .offset_ddr_clk = 0,
                .dsi_fclk_src   = OMAP_DSS_CLK_SRC_DSI_PLL_HSDIV_DSI,
            },
        },

        .panel = {
            .timings = {
                .x_res        = 1280,
                .y_res        = 800,
                .pixel_clock    = 76266,
                .hfp        = 48,
                .hsw        = 32,
                .hbp        = 80,
                .vfp        = 3,
                .vsw        = 6,
                .vbp        = 14,
            },
            .dsi_mode = OMAP_DSS_DSI_VIDEO_MODE,
           
            .dsi_vm_data = {
                    .hsa            = 0,
                    .hfp            = 36,
                    .hbp            = 79,
                    .vsa            = 6,
                    .vfp            = 3,
                    .vbp            = 14,

                    .vp_de_pol        = true,
                    .vp_vsync_pol        = true,
                    .vp_hsync_pol        = false,
                    .vp_hsync_end        = false,
                    .vp_vsync_end        = false,

                    .blanking_mode        = 0,
                    .hsa_blanking_mode    = 1,
                    .hfp_blanking_mode    = 1,
                    .hbp_blanking_mode    = 1,

                    .ddr_clk_always_on    = true,

                    .window_sync        = 4,
            },
       
            .width_in_um = 216960,
            .height_in_um = 135600,
        },

        .ctrl = {
            .pixel_size = 18,
        },

        //    .reset_gpio     = 102, //no use
        .channel = OMAP_DSS_CHANNEL_LCD,
     
        .platform_enable = NULL,
        .platform_disable = NULL,
        .dispc_timings = &dispc_timings_sn65dsi83,
    };

    regards,

    Sean

    0027.putty_2014_08_12.log

  • Sean,

    I see you've increased the TABLET_FB_RAM_SIZE.

    Can you try to also increase the .tiler1d_slotsz in

    static struct dsscomp_platform_data dsscomp_config_tablet = {
        .tiler1d_slotsz = SZ_16M,
    };

    Try 18M or just for test set it equal to the HDMI configuration (18 + 9) MB.

    Best Regards,
    Yordan

  • Hi Yordan,

        I have two trials . tiler1d_slotsz = SZ_16M+SZ_2M,and . tiler1d_slotsz = 27M. After setting these two values,the graphic data still does not come to MIPI data lane. Is there any other parameter that we can set and related with SGX? The current panel info we registered is as following:

    omap_android_display_setup(&tablet_dss_data_sn65dsi83_hannstar_hsd101pww1,
                &dsscomp_config_tablet,
                &omaplfb_plat_data_tablet,
                &tablet_fb_pdata);

    static struct omap_dss_device *dss_devices_sn65dsi83_hannstar_hsd101pww1[] = {
        &lcd_sn65dsi83_hannstar_hsd101pww1, /* LCD device has to be first */
        &tablet_hdmi_device,
    };

    static struct omap_dss_board_info tablet_dss_data_sn65dsi83_hannstar_hsd101pww1 = {
        .num_devices    = ARRAY_SIZE(dss_devices_sn65dsi83_hannstar_hsd101pww1),
        .devices    = dss_devices_sn65dsi83_hannstar_hsd101pww1,
        .default_device = &lcd_sn65dsi83_hannstar_hsd101pww1,
    };

    static struct dsscomp_platform_data dsscomp_config_tablet = {
        .tiler1d_slotsz = SZ_16M, // <== set to 18M and 27M here,but no effect to SGX data output
    };

    static struct dsscomp_platform_data dsscomp_config_hdmi_display = {
        .tiler1d_slotsz = (SZ_16M + SZ_2M + SZ_8M + SZ_1M),
    };

    /* HACK: use 2 devices, as expected by DDK */
    static struct sgx_omaplfb_config omaplfb_config_tablet[] = {
        {
            .tiler2d_buffers = 2,
            .swap_chain_length = 2,
        },
        {
            .vram_buffers = 2,
            .swap_chain_length = 2,
        },
    };


    static struct sgx_omaplfb_platform_data omaplfb_plat_data_tablet = {
        .num_configs = ARRAY_SIZE(omaplfb_config_tablet),
        .configs = omaplfb_config_tablet,
    };

    static struct omapfb_platform_data tablet_fb_pdata = {
        .mem_desc = {
            .region_cnt = ARRAY_SIZE(omaplfb_config_tablet),
        },
    };

    Is there any wrong setting on the registration of panel?

    Best Regards,

    Sean

  • Hi Sean,

    I will double check this, but at first glance, I cannot locate a wrong configuration in your panel registration.

    Which brings me back to thinking, that somehow your PVR driver is broken. Can you rebuild & reinstall it?

    Best Regards,

    Yordan

  • Hi Yordan,

          I rebuilt sgx source with 4AJ.2.5P2 and already pushed to current system.img. The sistuation is the same problem of driver initialisation not completed yet. I have been to tarce the sgx source,but block on the BridgeID getting. It seems like a system io control call on this initialization. Are you able to advise more further info on sgx src? I can output the related debug message with this for debugging.

    regards,

    Sean

     

  • Hi Yordan,

         I just pushed debug version of pvrsrvkm_sgx544_112.ko. The message runs to PVR_K:(Error): BridgedDispatchKM: Initialisation failed.  Driver unusable. [5398, services4/srvkm/bridged/bridged_pvr_bridge.c].

    regards,

    Sean

  • Hi Yordan,

         I followed the README.SGX for copying pvrsrvkm_sgx544_112.ko to /system/lib/modules. I added a debug message in bridged_pvr_bridge.c. The debug message indeed outputs ,so I think the sgx544 kernel module should be updated.

    regards,

    Sean 

    3872.README_SGX.txt

  • Hi,

         This is just a warning message like Yordan said,we found the problem is on the GFX data can not be output which caused by clock timing. Ignore this discussing thread.

    regards,

    Sean