Hi,
My Mali400 library version is r5p2-00rel. (MALI_VARIANT=mali400-r1p1-gles11-gles20-linux-dma_buf-no_profiling)
I have trouble like below at 64bit,
----------------------------------------------------------------------------------------------------------
[ 18.130000] Mali<2>: Executor: Mali page fault detected at 0x11468180 from bus id 5 of type read on Mali_PP0_MMU
[ 18.140000] Mali<2>: Mali group: Executing recovery reset due to job failure
[ 18.150000] Mali<2>: Mali PP: Hard reset of core Mali_PP0
I have 2 quetions.
<1> about Makefile.
SUPPORT64="$(shell echo | $(CROSS_COMPILE)gcc -dM -E - | grep LP64)"
ifeq ($(findstring LP64,$(SUPPORT64)), LP64)
$(warning "Trying to build DX910 for 64-bit support, you will lose any further support from ARM.")
$(error "DX910 Mali DDK dose not support 64bit build.")
endif
Like above, I wonder if this libary really don't support 64bit application using dma-buf.
Does mali400 r5p2 driver support 64bit?
<2> about 64bit example.
I tested 32bit examle using dma-buf and pixmap surface. It's working well.
After commenting like #$(error "DX910 Mali DDK dose not support 64bit build."),
I tested 64bit exampe with 64bit library and driver on ARM ARCH 64 kernel.
My application which is using dma-buf and pixmap has worked well with this library on 32bit.
But It makes errors on only 64bit. My linux kernel version is 3.10.49
And my another 64bit application not using dma-buf and pixmap has worked well with this library on ARM ARCH 64 kernel.
<My application error flow>
pixmap_input = CreatePixmap(texture_in_width, texture_in_height, hPixmap, 32);
eglCreatePixmapSurface( glesDisplay, config, (EGLNativePixmapType)pixmap_input, NULL );
: _egl_create_pixmap_surface() - __egl_mali_render_pixmap_to_surface() - _mali_frame_builder_flush() => this make errors.
I'd like to get some advices to fix it.
Thank you,
Jinho
Hi ritesh,
To clarify, you will need to obtain this userspace component from the BSP provider/OEM/Silicon Manufacturer for the particular device you have.
Currently, ARM only provide a generic driver for development work for the HiKey device. This is found here: http://malideveloper.arm.com/resources/drivers/arm-mali-utgard-gpu-user-space-drivers/
It is often the case that manufacturers may modify our stock driver to implement their own differentiating factors such as optimisations or other performance/power related code, so it is not always guaranteed that dropping in a binary from another device will work in your BSP.
I hope this helps you resolve your issue.
Kind Regards,
Michael McGeagh
Hi Michael,
Thanks for your reply.
So, It seems like we need to contact our Soc Provider to get support of Mali400 r5p2-00rel User Space Drivers for our A20 Board.
The Link "http://malideveloper.arm.com/resources/drivers/arm-mali-utgard-gpu-user-space-drivers/" you have provided is for ARM Mali 450 Utgard User Space Drivers and we are using Mali 400 MP2 GPU. So, I think that user space drivers will not work with our kernel space drivers.
Regards,
Ritesh Prajapati
Yes, apologies if my link added confusion.
What I wanted to point out is, if we in the Ecosystem team decide to support any Utgard based device for generic development, then you can find it on that link.
Currently we only have generic binaries for the HiKey, which is indeed not compatible with your target.