As I mentioned in my previous email, I've had some success with
getting scaling going. However, I have been unsuccessful with any
vertical scaling. Any time I try to change the vertical scaling, I end
up with errors and the display is shutdown. I suspect it has something
to do with the FCK/PCK settings, but that's just a guess, and playing
around with them don't produce any better results.
My config is:
Tomi's 2.6.29 DSS2 kernel ( from
http://www.bat.org/~tomba/git/linux-omap-dss.git )
OMAP2_DSS_VRAM_SIZE=12
OMAP2_DSS_DSI=n
OMAP2_DSS_MIN_FCK_PER_PCK=0
OMAP2_DSS_DEBUG_SUPPORT=y
FB_OMAP2_NUM_FBS=3
FB_OMAP2_DEBUG_SUPPORT=y
applicable boot args:
debug omapfb.debug=y omapdss.debug=y omapdss.def_disp=dvi
omapfb.test=y omapfb.mode=dvi:1024x768MR-24@60
omapfb.vram=0:3M,1:3M,2:3M
With the default fb/overlay setup, I can do this:
echo "512,768" > $ovl1/output_size
and get the fb1 graphics scaled properly horizontally. But if I try
the equivalent vertical scaling:
echo "1024,384" > $ovl1/output_size
I get this:
omapdss OVERLAY: check_overlay 1: (256,0 1024x768 -> 1024x384) disp (1024x768)
omapdss OVERLAY: check_overlay failed 1: 1024 < 256 + 1024
and if I try:
echo "512,384" > $ovl1/output_size
I get:
omapdss OVERLAY: check_overlay 1: (256,0 1024x768 -> 512x384) disp (1024x768)
omapdss MANAGER: omap_dss_mgr_apply(lcd)
omapdss OVERLAY: check_overlay 0: (0,0 1024x768 -> 1024x768) disp (1024x768)
omapdss DISPC: dispc_setup_plane 0, ch 0, pa 80488000, sw 1024, 0,0,
1024x768 -> 1024x768, ilace 0, cmode 80, rot 0, mir 0
omapdss DISPC: calc_rot(0): scrw 1024, 1024x768
omapdss DISPC: offset0 0, offset1 0, row_inc 1, pix_inc 1
omapdss DISPC: 0,0 1024x768 -> 1024x768
omapdss DISPC: dispc_enable_plane 0, 1
omapdss OVERLAY: check_overlay 1: (256,0 1024x768 -> 512x384) disp (1024x768)
omapdss DISPC: dispc_setup_plane 1, ch 0, pa 80788000, sw 1024, 256,0,
1024x768 -> 512x384, ilace 0, cmode 80, rot 0, mir 0
omapdss DISPC: calc_rot(0): scrw 1024, 1024x768
omapdss DISPC: offset0 0, offset1 0, row_inc 1, pix_inc 1
omapdss DISPC: 256,0 1024x768 -> 512x384
omapdss DISPC: dispc_enable_plane 1, 1
omapdss DISPC: dispc_enable_plane 2, 0
omapdss DISPC: FIFO merge disabled
omapdss DISPC: fifo(0) size 1024, low/high old 960/1023, new 960/1023
omapdss DISPC: fifo(1) size 1024, low/high old 960/1023, new 960/1023
omapdss DISPC: GO LCD
DISPC IRQ: 0x48a3: SYNC_LOST
omapdss DISPC error: dispc irq error status 48a3
omapdss DISPC error: Excessive DISPC errors
Turning off lcd and digit
DISPC IRQ: 0x4000: SYNC_LOST
omapdss DISPC error: dispc irq error status 4000
omapdss DISPC error: Excessive DISPC errors
Turning off lcd and digit
Has anyone gotten vertical scaling to work?
Brett