Age | Commit message (Collapse) | Author |
|
|
|
|
|
This extends the output funcs to have a callback for when it's time to
configure properties, and another for when the server has changed a property
whose value isn't pending a mode set. (Pending properties are to be picked up
by the driver at mode_set time).
|
|
Conflicts:
src/i830_driver.c
src/i830_randr.c
Just a few sync changes.
|
|
Yes, there are lots of bits tied together here, and we should split this
patch apart.
Move I830 mode setting to xf86 mode setting.
Make mode setting function also set the base address. This should fix
problems where the base gets set incorrectly at times.
Add driver-independent rotation support, requires driver-specific hooks for
shadow pixmap allocation, otherwise it uses Render for painting.
|
|
|
|
Makes the mode setting logic device independent.
Magic rename hooks allow multiple drivers to provide the
generic code without name conflicts.
Rotation code requires special pixmap creation hook, and uses
Render to perform the actual rotation.
|
|
|
|
|
|
A side effect is the reduction in vertex dispatch, which is nice.
|
|
|
|
This increases the "legacy" size, but that was checked against the 845
documentation which claims support for 2048x2048 as well. It decreases the
textured video size, which was running into the limits of the bigrequests
extension. The new limits should fit within bigrequests while still supporting
HD videos.
|
|
The cachelines are used for two things: XAA pixmap cache and XV memory.
Only XAA pixmap cache is referred to using an offset pointing at the
beginning of the front buffer in rendering, and XAA only uses the 2d BLT
engine, which actually has a vertical limit of 65536. So, pixmap cache is now
limited to that much vertical.
Additionally, the previous cachelines allocation was too small for our
advertised XV limits, so video at the limits would fail with BadAlloc. Now,
XAA allocates the same approximate amount of offscreen memory as EXA:
3 times the screen size, plus one packed HD video.
|
|
This reduces max framebuffer width and increases max framebuffer height on
965, reduces max X/Y on pre-965 EXA (could have caused mis-rendering), and
increases max X/Y on 965 EXA (would have prevented acceleration).
|
|
|
|
We should just call i830MarkSync/i830WaitSync in places we need,
which care for both XAA and EXA.
|
|
|
|
|
|
|
|
|
|
Several new global functions were not put into the header file leading to
potential mismatches between declaration and definition.
|
|
|
|
RandR 1.2 requires a new rotation structure for per-CRTC rotation.
|
|
|
|
|
|
|
|
Conflicts:
src/i830_rotate.c
Pull in upstream changes to crestline branch leaving only
the PCI-IDs as local changes.
|
|
I830EntityIndex is shared between 810 and newer driver.
Move most EXA rendering state into I830 structure.
Declare shared variables in shared header files rather than .c.
|
|
|
|
I still have problem with non-interlace mode and Hi Res mode.
also I don't know how to pickup those mode in xorg.conf
|
|
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
We should check if EXA is really enabled.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
We should use card_fmt for src/mask picture, and use dest color
buffer format helper. Also fix wrong name for G965 texture formats,
and pict_x1r5g5b5 isn't supported by sampler engine.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
fix corrupt in some subspans
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Make it easy to track different part of ring state, and
use rectlist primitive instead.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Also fix some minors in wm program.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
Not split offscreen mem for exa, but alloc a dedicated one
for G965 states.
Signed-off-by: Keith Packard <keithp@neko.keithp.com>
|
|
NULL vs. 0
make some variables static
remove redundant variables
There are only a few sparse warnings left now: some bitfield warnings
and a few 'mixing code and declarations' warnings from the ring macros.
|
|
Actually load TV, otherwise we don't have expected
reg state to probe.
|