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

Use DMA engine to blit to framebuffer #7

Open
blitz opened this issue Jan 27, 2021 · 0 comments
Open

Use DMA engine to blit to framebuffer #7

blitz opened this issue Jan 27, 2021 · 0 comments
Labels
enhancement New feature or request platform:ulx3s

Comments

@blitz
Copy link
Owner

blitz commented Jan 27, 2021

The ULX3S has a DMA engine to offload copying pixel data to the framebuffer. This should result in smoother display and less CPU usage.

                dma@80000 {
                        compatible = "spinal,lib-dmasg";
                        reg = <0x80000 0x10000>;
                        interrupt-parent = <0x03>;
                        interrupts = <0x0c>;
                        #dma-cells = <0x01>;
                        #address-cells = <0x01>;
                        #size-cells = <0x00>;
                        phandle = <0x04>;

                        dma-channel@0 {
                                reg = <0x00>;
                                interrupt-parent = <0x03>;
                                interrupts = <0x0c>;
                        };

                        dma-channel@1 {
                                reg = <0x01>;
                                interrupt-parent = <0x03>;
                                interrupts = <0x0d>;
                        };
                };

Depends on #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request platform:ulx3s
Projects
None yet
Development

No branches or pull requests

1 participant