diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2021-01-09 01:42:27 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2021-01-10 02:10:56 +0100 |
commit | fdef7b0c81716b1592b97d1e368c491ac535020b (patch) | |
tree | 5e818ef51dbf727f9cc4e7ecdbdfac3570ae6d42 | |
parent | e525f45014e590df9226fa838ea716cb2d1d4617 (diff) | |
download | openfirmware-fdef7b0c81716b1592b97d1e368c491ac535020b.tar.gz |
mmp3/hdmi: support bpp > 16
-rw-r--r-- | cpu/arm/mmp3/hdmi.fth | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/arm/mmp3/hdmi.fth b/cpu/arm/mmp3/hdmi.fth index 463cff64..44b35d39 100644 --- a/cpu/arm/mmp3/hdmi.fth +++ b/cpu/arm/mmp3/hdmi.fth @@ -354,7 +354,6 @@ hex \ : dither! ( n -- ) h# a0 lcd! ; \ : dither-table! ( n -- ) h# a4 lcd! ; -d# 16 value tv-bpp : init-tv-graphics ( -- ) init-tv-clock @@ -366,7 +365,9 @@ d# 16 value tv-bpp 1 d# 8 +bits \ DMA enable h# f d# 16 -bits - 0 d# 16 +bits \ Pixel format RGB565 + bpp d# 32 = if h# 4 d# 16 +bits then \ Pixel format RGB8888 + bpp d# 24 = if h# 2 d# 16 +bits then \ Pixel format RGB888 + bpp d# 16 = if h# 0 d# 16 +bits then \ Pixel format RGB565 7 d# 9 -bits \ Turn off YUV422PACK, YVYU422P, UYVY422P |