diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-04 15:57:12 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-04 15:57:12 -0200 |
commit | 1d7b9547e1d37601f14410857c22f256e5c74f14 (patch) | |
tree | 435e5494c22952c20843eb6282ccf0f67df18fc3 /src/smi.h | |
parent | 93308d067c93126dd0aba9b718d9e0ba28dde9f4 (diff) |
Add CSCVideo option to smi 501/502.
This code is an adaptation of SMI sample implementation.
CSCVideo is an alternate way to render video, that should reduce memory
bandwidth usage, and uses the color space conversion hardware to render
video directly to the framebuffer memory.
When using randr dual head mode, currently only XAA is supported. As it
has a fixed format framebuffer (when using the Virtual xorg.conf option).
This patch also ensures that pScrn->displayWidth, pScrn->virtualX and
pScrn->virtualY are only changed by the driver when using EXA.
Diffstat (limited to 'src/smi.h')
-rw-r--r-- | src/smi.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -126,7 +126,15 @@ typedef struct OptionInfoPtr Options; Bool Dualhead; + + /* Don't attempt to program a video mode. Use kernel framebuffer + * mode instead. */ Bool UseFBDev; + + /* CSC video uses color space conversion to render video directly to + * the framebuffer, without using an overlay. */ + Bool CSCVideo; + Bool PCIBurst; /* Enable PCI burst mode for reads? */ Bool PCIRetry; /* Enable PCI retries */ @@ -197,10 +205,6 @@ typedef struct int GEResetCnt; /* Limit the number of errors printed using a counter */ - - /* XAA */ - CARD32 Stride; /* Stride of frame buffer */ - Bool useBIOS; /* Use BIOS for mode sets */ Bool zoomOnLCD; /* Zoom on LCD */ XAAInfoRecPtr XAAInfoRec; /* XAA info Rec */ |