Kernel 3.17 Vivante v4 gpu driver: testers needed

This is the place for software discussions not having a dedicated subforum

Re: Kernel 3.17 Vivante v4 gpu driver: testers needed

Postby sbrown » Mon Sep 15, 2014 4:03 pm

I built Robert Nelson's 3.17.0-rc5-armv7-x1. He included your patches are included in this version.
The dmesg galcore messages are identical to yours.

I also built etna_viv on my wandboard quad with GCABI="imx6_v4_0_0".

viv_info gets the furthest of any of the tests. It's below. Any idea what I'm missing?

Thanks

Code: Select all
sudo utils/viv_info
Succesfully opened /dev/galcore
********** core: 1 ***********
gcsHAL_INTERFACE size 168
Ioctl error: Inappropriate ioctl for device
sbrown
 
Posts: 2
Joined: Mon Sep 15, 2014 1:40 pm

Re: Kernel 3.17 Vivante v4 gpu driver: testers needed

Postby blackibiza » Wed Sep 17, 2014 9:34 am

nice one!
I will try it soon.

Do you know if an updated X.Org module is available, to enable accelerated X11?
blackibiza
 
Posts: 13
Joined: Wed Dec 04, 2013 11:24 am

Re: Kernel 3.17 Vivante v4 gpu driver: testers needed

Postby sbrown » Sat Sep 20, 2014 2:41 pm

Some results:

With CONFIG_GPU_VIVANTE_PROFILER not set in .config and GCABI="v4_uapi"
Previously, I had profiler set in the kernel but not set in etna_viv.

utils/viv_info output shows core 1 and 4 as a GC2000 core. The driver in the 3.10.17 kernel shows core 4 as GC355.
Code: Select all
root@arm:/home/ubuntu/etna_viv/src# utils/viv_info | grep -A5 core:
********** core: 1 ***********
gcsHAL_INTERFACE size 128
* Chip identity:
Chip model: 00002000
Chip revision: 00005108
Chip features: 0xe0296cad
--
********** core: 2 ***********
gcsHAL_INTERFACE size 128
* Chip identity:
Chip model: 00000320
Chip revision: 00005007
Chip features: 0xe02c7eca
--
********** core: 4 ***********
gcsHAL_INTERFACE size 128
* Chip identity:
Chip model: 00002000
Chip revision: 00005108
Chip features: 0xe0296cad


The fb tests don't get very far. Just a hang at FRAME 200 and nothing displayed.
The test diplays on the 3.10.17 kernel.
Code: Select all
root@arm:/home/ubuntu/etna_viv/src# fb/cube_companion                                                                                                             
Kernel: Vivante GPL kernel driver 4.6.6.1381
Physical address of internal memory: 00000000
* Video memory:
  Internal physical: 0x00000000
  Internal size: 0x00000000
  External physical: 00000000
  External size: 0x00000000
  Contiguous physical: 0xecd39480
  Contiguous size: 0x00400000
Succesfully opened device
fix smem_start 3ed00000
    smem_len 00180000
    line_length 00000800

var x_res 1024
    y_res 768
    x_res_virtual 1024
    y_res_virtual 768
    bits_per_pixel 16
    red.offset 11
    red.length 5
    green.offset 5
    green.length 6
    blue.offset 0
    blue.length 5
    transp.offset 0
    transp.length 0
    grayscale 0
number of fb buffers: 1
Framebuffer format: 4, flip_rb=0
Interleaving vertices and copying index buffer...
*** FRAME 0 ****
*** FRAME 50 ****
*** FRAME 100 ****
*** FRAME 150 ****
*** FRAME 200 ****
sbrown
 
Posts: 2
Joined: Mon Sep 15, 2014 1:40 pm

Re: Kernel 3.17 Vivante v4 gpu driver: testers needed

Postby ibanezul » Tue Sep 23, 2014 10:25 am

Hi guys,

When trying to build an Android configuration, the driver fails to build as previously reported, most probably due to CONFIG_PREEMPT=y

drivers/gpu/vivante/v4/gc_hal_kernel_driver.c:27:31: fatal error: linux/kernel_lock.h: No such file or directory
#include <linux/kernel_lock.h>
ibanezul
 
Posts: 1
Joined: Tue Sep 23, 2014 10:18 am

Previous

Return to Software - General

Who is online

Users browsing this forum: Google [Bot] and 95 guests

cron