[Galaxy S II Android Development] dorimanx:
I have BAD news!

i have tried to upgrade MALI driver to NEXT version from MALI SOURCE.

and i have managed to do so in kernel!

BUT, now i need to upgrade the ROM code to support new driver!

and here i am stuck!

I/ServiceManager( 7243): Waiting for service SurfaceFlinger...
I/ServiceManager( 7243): Waiting for service SurfaceFlinger...
I/ServiceManager( 7243): Waiting for service SurfaceFlinger...
I/SurfaceFlinger( 8542): SurfaceFlinger is starting
I/SurfaceFlinger( 8542): use dithering
I/SurfaceFlinger( 8542): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 8542): loaded /system/lib/egl/libEGL_mali.so
D/libEGL ( 8542): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL ( 8542): loaded /system/lib/egl/libGLESv2_mali.so
W/libEGL ( 8542): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
I/gralloc ( 8542): using (fd=16)
I/gralloc ( 8542): id = s3cfb
I/gralloc ( 8542): xres = 480 px
I/gralloc ( 8542): yres = 800 px
I/gralloc ( 8542): xres_virtual = 480 px
I/gralloc ( 8542): yres_virtual = 1600 px
I/gralloc ( 8542): bpp = 32
I/gralloc ( 8542): r = 16:8
I/gralloc ( 8542): g = 8:8
I/gralloc ( 8542): b = 0:8
I/gralloc ( 8542): width = 56 mm (217.714279 dpi)
I/gralloc ( 8542): height = 93 mm (218.494629 dpi)
I/gralloc ( 8542): refresh rate = 60.38 Hz
I/SurfaceFlinger( 8542): Using composer version 1.0
W/SurfaceFlinger( 8542): getting VSYNC period from fb HAL: 16561225
W/SurfaceFlinger( 8542): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID
W/SurfaceFlinger( 8542): no suitable EGLConfig found, trying without EGL_RECORDABLE_ANDROID
W/SurfaceFlinger( 8542): no suitable EGLConfig found, trying with 16-bit color allowed
E/SurfaceFlinger( 8542): no suitable EGLConfig found, giving up
E/SurfaceFlinger( 8542): EGLContext creation failed
F/SurfaceFlinger( 8542): couldn't create EGLContext
F/libc ( 8542): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 8547 (SurfaceFlinger)
E/Trace ( 8542): error opening trace file: No such file or directory (2)
W/SurfaceFlinger( 8542): WARNING: EventThread not started, ignoring vsync
I/ServiceManager( 7243): Waiting for service SurfaceFlinger...
I/DEBUG ( 2094): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 2094): Build fingerprint: 'samsung/GT-I9100/GT-I9100:4.1.2/JZO54K/XXLPQ:user/release-keys'
I/DEBUG ( 2094): Revision: '14'
I/DEBUG ( 2094): pid: 8542, tid: 8547, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 2094): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 2094): r0 00000000 r1 00000001 r2 00000027 r3 00000000
I/DEBUG ( 2094): r4 00000000 r5 40c1f914 r6 40c1fdd0 r7 00000000
I/DEBUG ( 2094): r8 402f4fd0 r9 41c77608 sl 40479795 fp 00100000
I/DEBUG ( 2094): ip deadbaad sp 40c1f910 lr 4031fa1b pc 4031b24e cpsr 600f0030
I/DEBUG ( 2094): d0 65746e6f434c4745 d1 2065746165726320
I/DEBUG ( 2094): d2 6f66206769666e6f d3 766967202c646e75
I/DEBUG ( 2094): d4 6874697720676e69 d5 5f4c47452074756f
I/DEBUG ( 2094): d6 424144524f434552 d7 4f52444e415f454c
I/DEBUG ( 2094): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 2094): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 2094): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 2094): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 2094): d16 0000000800003022 d17 41cdcd6500000000
I/DEBUG ( 2094): d18 3d92a119a6000000 d19 3fe0000000009509
I/DEBUG ( 2094): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 2094): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 2094): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 2094): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 2094): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 2094): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 2094): scr 20000010

any way! when CM/AOKP will move forward, i will be ready! :)

i will put the patch aside for now... and drain from it all the can be good for us now without ROM code changes!

rom code and mali source are here!

http://malideveloper.arm.com/develo...source-mali-gpus-linux-kernel-device-drivers/