Skip to content

Conversation

@ydirson
Copy link

@ydirson ydirson commented Jan 27, 2016

No description provided.

Yann Dirson and others added 13 commits January 13, 2016 19:40
Signed-off-by: Yann Dirson <ydirson@o-computers.com>
the mali directory came from the DX910-SW-99002-r2p4-02rel1
http://www.malideveloper.com/developer-resources/drivers/open-source-mali-gpus-linux-exadri2-and-x11-display-drivers.php

menuconfig to enable CONFIG_DRM_MALI under device drivers->graphics
support->Direct Rendering Manager

the only issue is at the bottom of the mali_drv.c file I had to use
/* MODULE_LICENSE(DRIVER_LICENSE); */
MODULE_LICENSE("GPL");

to avoid a GPL / NONGPL license error while compiling. The header of
this file says it has a GPL license so the change should be ok. I am not
a license expert but I believe it will be ok.

(cherry picked from commit 250cc15)
(cherry picked from commit 5bba4fb)
mali_drv is taken from http://www.igloocommunity.org git. Now you
can use X11 DRI2 Mali-400 drivers from ARM with default xorg.conf.
This commit also adds support for two framebuffers for Mali DRM,
they are different platform devices called mali_drm.0 and mali_drm.1
accordingly.

(cherry picked from commit 8b9710b)
This fixes some part of building the kernel in a separate directory.
The remaining part (real libs really in source tree) is more tricky.
gcc5 is pickier about inline functions defined in headers.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>

Adjusted to this source tree.

Signed-off-by: Yann Dirson <ydirson@o-computers.com>
This patch had been added by Jens Lucius <info@jenslucius.com> to the
yocto linux-sunxi-3.4 recipe in meta-sunxi rev
062c1477cf0252f2afe07c545b4af075f21421f7.

Signed-off-by: Yann Dirson <ydirson@o-computers.com>
* CONFIG_DEFAULT_MMAP_MIN_ADDR too high disallowed execution of some debian
  binaries (eg. m4, setxkbmap)
* CONFIG_ANDROID_PARANOID_NETWORK required special work to get network
  access
* CONFIG_GMAC_PHY_POWER must be enabled on Orange Pi Plus for ethernet to
  work at all

Signed-off-by: Yann Dirson <ydirson@o-computers.com>
Signed-off-by: Yann Dirson <ydirson@o-computers.com>
Signed-off-by: Yann Dirson <ydirson@o-computers.com>
This driver is not autoloaded when compiled as a module, and it has to
be loaded before Xorg can properly start on HDMI.  No idea of possible
interactions with the disp2 tv driver, but at least compiling it in is
the choice that was made in sun8i_h3_defconfig.

Signed-off-by: Yann Dirson <ydirson@o-computers.com>
@ssvb
Copy link
Owner

ssvb commented Feb 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants