Difference between revisions of "Mali Driver"
Line 2: | Line 2: | ||
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 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 | Here is the DRM video presentation by Free Electron: https://www.youtube.com/watch?v=LbDOCJcDRoo | ||
Revision as of 04:15, 21 December 2017
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:
- MALI-400 R6P2 KMS (Kernel Mode Service) 64-bit binary driver and binary download
- MD5: 523276872A9A11D1831ACE42F95DBBB1
- File Size: 1.857MB
- MALI-400 R6P2 WAYLAND 64-bit binary driver and binary download
- MD5: 1698E8C54BDC6FE0804699F545FFE793
- File Size: 179KB
- MALI-400 R6P2 KMS (Kernel Mode Service) 64-bit binary driver and binary download
X11 MALI Driver:
- MALI EULA document
- MALI-400 64-bit binary driver and binary download
- MD5: 4F56AE6FB793E7D946867942AF58FEAC
- File Size: 1.7MB
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 realated to cache problem and may due to character library. This issue still need to further verified.
Original Chinese statement (X11 version).
附件是实现的相关代码和库文件。
lib_x11_r6p0.tar.bz2:是上层opengles的库; r6p0_kernel_driver.tar.bz2:gpu驱动代码; sunxi_arm_video.tar.bz2:是video有关dri2和exa加速的参考实现; sunxi_drm_0622.tar.bz2:是drm驱动;
方法:
使用drm驱动不能通display驱动共存,其借用了display对硬件的BSP部分; drm驱动中可以结合sunxi_arm_video中申请gem时使用cache和刷新cache,打开cache确实提升性能; drm驱动中同样借用了sunxi_tr中的对rotate的BSP部分,不要同sunxi_tr公用;
已知问题:
由于rotate硬件不支持crop,而exa加速中大部分都是crop操作,sunxi_arm_video中只是实现了参考代码(验证过功能),你们熟悉xorg硬件加速,更为详细的优化你们更为专业; 使用后网页等字体会出现竖条纹,应该不是cache的问题,字体库还是其它原因,可能需要你们进一步确认。