Project

General

Profile

Actions

Feature #1794

closed

Feature #1539: Graphics acceleration

Feature #1491: Hardware-specific graphics acceleration

Use free hardware composer for smdk4412 devices

Added by Wolfgang Wiedmeyer almost 7 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Graphics
Target version:
Start date:
04/24/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Grant:
Type of work:

Description

Javi Ferrer developed a free hardware composer for Exynos 4. It is part of NamelessRom:
https://github.com/NamelessRom/android_hardware_samsung/commit/90ce74afc13c8265673bc90bedeb8bc8a17f5497
https://github.com/NamelessRom/android_hardware_samsung/commit/999f31969533a8042726489e957b3dc3c927851a
https://github.com/NamelessRom/android_hardware_samsung/commit/a133ba7dd102fa3d2db3141f35fedd13b88afd14
Other Gralloc-related commits might be needed as well.

The implementation depends on a change in the smdk4412 kernel:
https://github.com/NamelessRom/android_kernel_samsung_smdk4412/commit/f1c6163ac1896e5d92b77a45d882d0564f060206

Furthermore, the NamelessRom smdk4412 kernel was rebased on the Note 2 kernel sources. This rebase was not done for the LineageOS kernel and thus is not included in the Replicant kernel. It needs to be investigated if the required changes can be backported, at least for the Samsung video drivers in drivers/video/samsung.

The free hardware composer is also not yet part of LineageOS. Development on their part can be tracked on their Gerrit, e.g.:
https://review.lineageos.org/#/c/167147/

Replicant 6.0 currently does not make use of FIMG, Replicant 4.2 has some code in skia:
https://github.com/CyanogenMod/android_external_skia/commit/647876b665f2cf011e75adc6ff2238d467c47635

A newer skia commit to make use of FIMG2D:
https://review.lineageos.org/#/c/61162/

Integrating these hardware composer changes could make it possible to use the integrated 2D graphics unit (FIMG2D) for compositing which could improve graphics speed significantly on Replicant. It should work at least on the Galaxy S 3 and Note 2, but it should be possible to make it work for the Galaxy S 2 and Note, too.

Actions

Also available in: Atom PDF