glodroid / glodroid_tests Goto Github PK
View Code? Open in Web Editor NEWDRM/KMS manual validation scripts
License: Apache License 2.0
DRM/KMS manual validation scripts
License: Apache License 2.0
Currently mixer clock is always set to maximum, which affects power consumption.
Also in certain conditions mixer can produce damaged output.
How to play with pixel clock (can potentially damage the hardware, don't try if you're not ready to lose it):
Pixel clock divider control registers are located at 0x100000C address
Bits:
Values:
and so on
Bash example (divide base freq by 4. On OPI3 it does mean 600Mhz/4 = 150MHz):
devmem 0x100000C 32 0x3
It's safe to reduce mixer clock (MClk) down to pixel clock (PClk) once hardware down-scaling isn't used
Up-scaling does not require clocking the module faster than pixel clock.
Down-scaling has some limitation (Tested with RGBA8888):
Vertical VI downscaling up to 2x require MClk=2*PClk
Vertical VI downscaling up to 16x require MClk=4*PClk
Horizontal VI downscaling up to 4x require MClk=2*PClk
Horizontal VI downscaling up to 8x require MClk=4*PClk
Horizontal VI downscaling up to 16x require MClk=4*PClk
(TODO: Distinguish between fine/coarse modes)
Vertical UI downscaling up to 2x require MClk=2*PClk
Vertical UI downscaling up to 4x require MClk=4*PClk
Vertical UI downscaling up to 8x require MClk=8*PClk
!!!
Vertical UI downscaling up to 16x require MClk=24*PClk
!!!
Horizontal UI downscaling up to 4x require MClk=2*PClk
Horizontal UI downscaling up to 8x require MClk=4*PClk
Exceeding these values will cause damaged picture output and in some cases pipeline can freeze.
H6 SOC, 1920x1080@60 mode (PClk=148.5MHz, single-plane FB console case)
Without changing the mixer clock (600MHz): 0.38A
After changing the mixer clock (150MHz): 0.36A
H6 SOC, 640x480@60 mode (PClk=25.2MHz, modetest test pattern case)
Without vhanging the mixer clock (600MHz) 0.35A
After changing the mixer clock (37.5MHz): 0.33A
while true ; do devmem 0x100000c 4 0x1 ; devmem 0x100000c 4 0x0 ; done
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.