On 30 March 2015 at 20:07, Jorge Ramirez-Ortiz < jorge.ramirez-ortiz@linaro.org> wrote:
On 03/29/2015 10:28 PM, xinliang wrote:
On Monday, March 30, 2015 12:00 AM, Vishal Bhoj wrote:
On 29 March 2015 at 21:07, Vishal Bhoj <vishal.bhoj@linaro.org mailto:vishal.bhoj@linaro.org> wrote:
I have compiled the Mali kernel module for Android and tried to boot Android based on Scott's proposed change.I am able to load the mali kernel module but I am getting an error while surfaceflinger tries load the GLES libs and use the same. The logcat and dmesg output is here: https://pastebin.linaro.org/view/93ad6748
Did some changes to pick the right gralloc lib and the ion library. It
still
fails. Here is the logcat:
https://pastebin.linaro.org/view/6e7d5ca4
Gralloc tries to request fb with triplebuffering configuration but
current FB
is configured for single buffer (looks like): <3>[ 51.649450] [drm:hisi_drm_fb_helper_check_var] *ERROR* fb
userspace
request width/height/bpp is greater than current fb request 1280x720-32 (virtual 1280x2160) > 1280x1440-32 <7>[ 81.907649] calling init_module+0x0/0x6c [mali] @ 1755 <6>[ 81.908408] ion: heap info : id 10 name fb phy 0x37300000 size
26214400
<4>[ 81.917596] Mali: GPU version: CF070000 <4>[ 81.930435] Mali: Mali device driver loaded <7>[ 81.934911] initcall init_module+0x0/0x6c [mali] returned 0 after
26431
usecs <14>[ 101.000830] healthd: battery none chg= <3>[ 111.007480] [drm:hisi_drm_fb_helper_check_var] *ERROR* fb
userspace
request width/height/bpp is greater than current fb request 1280x720-32 (virtual 1280x2160) > 1280x1440-32
Please open this file: drivers/gpu/drm/hisilicon/hisi_drm_fb.h and change bellow macro value to 3 then we can get triplebuffer. Please have a try.
Thanks.
15 #define HISI_NUM_FRAMEBUFFERS 2
is this a fix that needs to be committed to the baseline? I haven't seen any pull requests.
I will push this once we have Mali working on Android.
Dev mailing list Dev@lists.96boards.org https://lists.96boards.org/mailman/listinfo/dev