Difference between revisions of "Mali Driver"

From PINE64
Jump to navigation Jump to search
(added categories)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Mali-400 64-bit driver  =
= 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


== Wayland MALI Driver: ==
Here is the DRM video presentation by Free Electron: https://www.youtube.com/watch?v=LbDOCJcDRoo
** [http://files.pine64.org/doc/MALI/mali400-r6p2-01rel0-km-003.tar.7z MALI-400 R6P2 KMS (Kernel Mode Service) 64-bit binary driver and binary download]
*** MD5: 523276872A9A11D1831ACE42F95DBBB1
*** File Size: 1.857MB
** [http://files.pine64.org/doc/MALI/mali400-r6p2-01rel0-um009-wayland.tar.bz2 MALI-400 R6P2 WAYLAND 64-bit binary driver and binary download]
*** MD5: 1698E8C54BDC6FE0804699F545FFE793
*** File Size: 179KB


== X11 MALI Driver: ==
== Wayland MALI Driver ==
** [http://files.pine64.org/doc/MALI/MALI%20EULA.pdf MALI EULA document]
* [http://files.pine64.org/doc/MALI/mali400-r6p2-01rel0-km-003.tar.7z MALI-400 R6P2 Kernel Mode Setting binary download] (1.86MB, MD5 ''523276872A9A11D1831ACE42F95DBBB1'')
** [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/mali400-r6p2-01rel0-um009-wayland.tar.bz2 MALI-400 R6P2 WAYLAND 64-bit binary driver and binary download] (179KB, MD5 ''1698E8C54BDC6FE0804699F545FFE793'')
*** MD5: 4F56AE6FB793E7D946867942AF58FEAC
*** File Size: 1.7MB


== X11 Notice: ==
== X11 MALI Driver ==
* [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] from ''pine64.org'' (1.7MB, MD5 ''4F56AE6FB793E7D946867942AF58FEAC'')
 
== X11 Notice ==
Attached are the implemented driver and library.
Attached are the implemented driver and library.


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


Usage:
Usage:


Using drm driver not able to coexist with display driver,due to utilize display relate BSP section;
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;
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:
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,
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 45: Line 37:
sunxi_arm_video.tar.bz2:是video有关dri2和exa加速的参考实现;
sunxi_arm_video.tar.bz2:是video有关dri2和exa加速的参考实现;
sunxi_drm_0622.tar.bz2:是drm驱动;
sunxi_drm_0622.tar.bz2:是drm驱动;


方法:
方法:
Line 56: Line 47:


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

Latest revision as of 19:55, 20 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.