Difference between revisions of "Mali Driver"

From PINE64
Jump to navigation Jump to search
(Changed style)
Line 4: Line 4:
Here is the DRM video presentation by Free Electron: https://www.youtube.com/watch?v=LbDOCJcDRoo
Here is the DRM video presentation by Free Electron: https://www.youtube.com/watch?v=LbDOCJcDRoo


== Wayland MALI Driver: ==
== Wayland MALI Driver ==
** [http://files.pine64.org/doc/MALI/mali400-r6p2-01rel0-km-003.tar.7z MALI-400 R6P2 Kernel Mode Setting binary download]
** [http://files.pine64.org/doc/MALI/mali400-r6p2-01rel0-km-003.tar.7z MALI-400 R6P2 Kernel Mode Setting binary download]
*** MD5: 523276872A9A11D1831ACE42F95DBBB1
*** MD5: 523276872A9A11D1831ACE42F95DBBB1
Line 12: Line 12:
*** File Size: 179KB
*** File Size: 179KB


== X11 MALI Driver: ==
== X11 MALI Driver ==
** [http://files.pine64.org/doc/MALI/MALI%20EULA.pdf MALI EULA document]
** [http://files.pine64.org/doc/MALI/MALI%20EULA.pdf MALI EULA document]
** [http://files.pine64.org/doc/MALI/x11_pine.tar.bz2 MALI-400 64-bit binary driver and binary download]
** [http://files.pine64.org/doc/MALI/x11_pine.tar.bz2 MALI-400 64-bit binary driver and binary download]
Line 18: Line 18:
*** File Size: 1.7MB
*** File Size: 1.7MB


== X11 Notice: ==
== X11 Notice ==
Attached are the implemented driver and library.
Attached are the implemented driver and library.


Line 35: Line 35:


Due to rotate hardware not support crop, and majority exa accelerators operate using crop,sunxi_arm_video is reference code (features already verified),this allow familiar with xorg hardware accelation,
Due to rotate hardware not support crop, and majority exa accelerators operate using crop,sunxi_arm_video is reference code (features already verified),this allow familiar with xorg hardware accelation,
If using web page and character appear vertical strip, this may not realated to cache problem and may due to character library. This issue still need to further verified.
If using web page and character appear vertical strip, this may not related to cache problem and may due to character library. This issue still need to further verified.


<!--
== Original Chinese statement (X11 version). ==
== Original Chinese statement (X11 version). ==
附件是实现的相关代码和库文件。
附件是实现的相关代码和库文件。
Line 54: Line 55:


由于rotate硬件不支持crop,而exa加速中大部分都是crop操作,sunxi_arm_video中只是实现了参考代码(验证过功能),你们熟悉xorg硬件加速,更为详细的优化你们更为专业;
由于rotate硬件不支持crop,而exa加速中大部分都是crop操作,sunxi_arm_video中只是实现了参考代码(验证过功能),你们熟悉xorg硬件加速,更为详细的优化你们更为专业;
使用后网页等字体会出现竖条纹,应该不是cache的问题,字体库还是其它原因,可能需要你们进一步确认。
使用后网页等字体会出现竖条纹,应该不是cache的问题,字体库还是其它原因,可能需要你们进一步确认。-->

Revision as of 23:21, 4 February 2023

Mali-400 64-bit driver

Here is the good DRM powerpoint presentation by Free Electron: https://free-electrons.com/pub/conferences/2017/kr/ripard-drm/ripard-drm.pdf

Here is the DRM video presentation by Free Electron: https://www.youtube.com/watch?v=LbDOCJcDRoo

Wayland MALI Driver

X11 MALI Driver

X11 Notice

Attached are the implemented driver and library.

lib_x11_r6p0.tar.bz2:opengles upper layer library; r6p0_kernel_driver.tar.bz2:gpu driver code; sunxi_arm_video.tar.bz2: dri2 and exa video related accelerator implementation; sunxi_drm_0622.tar.bz2:drm driver;

Usage:

Using drm driver not able to coexist with display driver,due to utilize display relate BSP section; Drm driver able to integrate with sunxi_arm_video apply gem during cache and cache refresh,open cache able to increase performance; Drm driver utilize sunxi_tr BSP rotate section,not able to public sharing with sunxi_tr;

Known issue:

Due to rotate hardware not support crop, and majority exa accelerators operate using crop,sunxi_arm_video is reference code (features already verified),this allow familiar with xorg hardware accelation, If using web page and character appear vertical strip, this may not related to cache problem and may due to character library. This issue still need to further verified.