Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G2D/Mixer #48

Open
magicse opened this issue Oct 28, 2015 · 7 comments
Open

G2D/Mixer #48

magicse opened this issue Oct 28, 2015 · 7 comments
Labels

Comments

@magicse
Copy link

magicse commented Oct 28, 2015

I cant found anything about G2D/Mixer on Allwinner H3
G2D driver used SUNXI_MP_PBASE and SUNXI_IRQ_MP,
but irqs-sun8iw7p1.h and platform-sun8iw7p1.h didn't have anything like that.

@ssvb
Copy link
Owner

ssvb commented Oct 29, 2015

It's very likely that H3 does not have the G2D/Mixer hardware block anymore. For example, A13 did not have it either.

@magicse
Copy link
Author

magicse commented Oct 29, 2015

But in datasheet on H3 I found something about RT-MIXER0 RT-MIXER1 in display engine.

@ssvb
Copy link
Owner

ssvb commented Oct 31, 2015

The references to "mixer" look like something that might be probably related to audio handling in H3.

You can check the A10 manual to find the documentation about the G2D/Mixer that is used for 2D graphics.

@magicse
Copy link
Author

magicse commented Nov 1, 2015

untitled-2

@ssvb
Copy link
Owner

ssvb commented Nov 1, 2015

OK, if the picture is correct, then maybe it does have G2D. Do the kernel sources from the Allwinner's H3 SDK have anything interesting?

@magicse
Copy link
Author

magicse commented Nov 1, 2015

display engine 2.0 realtime mixer processing base functions implement
de_rtmx.h
de_rtmx_type.h
de_rtmx.c

@ssvb
Copy link
Owner

ssvb commented Nov 10, 2015

OK, got an Orange Pi PC board myself and also took a look at the SDK sources. These RT-Mixer and MUX things seem to be used instead of the DEBE and DEFE in older Allwinner chips. As for G2D, it is enabled with the following kernel option:

config SUNXI_G2D
    depends on (ARCH_SUN8IW1P1 || ARCH_SUN9IW1P1)
    tristate "sunxi g2d driver"
    default N
    select ION
    select ION_SUNXI
    help

Which means A31 or A80, but not H3.

@ssvb ssvb added the question label Jan 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants