79e655f6e9
Finally got display working, but it's based on MoKee kernel which is also hosted on GitHub by community. So what works: * USB Networking * Flashing * Touchscreen * Display * Weston with Xwayland The device boots and shows the splash screen properly, after about 3 sec the screen went black. I had to "echo 127 > /sys/devices/i2c-0/0-0038/leds/lm3530-backlight/brightness" to make the backlight work, even though the value of it was already 127. [skip ci]: this was built successfully in CI already
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
source:
|
|
https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9
|
|
|
|
* These need to be static to avoid these errors:
|
|
|
|
drivers/built-in.o: In function `.LANCHOR1':
|
|
msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock'
|
|
msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock'
|
|
Makefile:877: recipe for target '.tmp_vmlinux1' failed
|
|
make: *** [.tmp_vmlinux1] Error 1
|
|
|
|
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
|
|
|
|
--- a/drivers/gpu/msm2/kgsl_iommu.c
|
|
+++ b/drivers/gpu/msm2/kgsl_iommu.c
|
|
@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu)
|
|
*
|
|
* Return - int - number of commands.
|
|
*/
|
|
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
unsigned int *cmds)
|
|
{
|
|
struct kgsl_device *device = mmu->device;
|
|
@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
|
|
*
|
|
* Return - int - number of commands.
|
|
*/
|
|
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
|
|
unsigned int *cmds)
|
|
{
|
|
struct kgsl_device *device = mmu->device;
|