Age | Commit message (Collapse) | Author |
|
|
|
|
|
Conflicts:
src/i830_driver.c
|
|
|
|
|
|
|
|
|
|
The current offset is used every time in render setup.
|
|
|
|
|
|
|
|
This is also closer to what my hardware is programmed with, except for some
very confusing off-by-one bugs in an unexpected direction.
|
|
It may be that the LVDS chips need to be DVOA and GPIOB only on mobility
devices with them, and DVOC/GPIOE on non-mobility like this 845. But until
more examples are found, just make this one device probe.
|
|
|
|
|
|
Otherwise, errors would be printed for every chip probed which wasn't present
on the system.
|
|
On hardware containing one of these chips (generally single pipe with an LVDS
connected), it's probably better to try to enable it and fail in some cases
than to not probe the output at all.
|
|
We don't support those outputs on this chip yet, so turn them off if the BIOS
had set them on.
|
|
|
|
|
|
This field shouldn't have been renamed in the first place. Go back to using
the old name so that the tree is backward and forward compatible again.
|
|
|
|
And cursor mem counting for dri mem manager is not relate
to overlay.
|
|
|
|
We have to grab xvadaptor's PutImage earlier than
xv init, otherwise no chance to do that..
|
|
Use consistent interface for counting pixmap offset.
|
|
|
|
Still need to clean up return value for XvMC API
|
|
|
|
|
|
convert i915 to new xvmc driver interface
|
|
There can be only one.
|
|
This branch changes i830_memory.c's allocator to use TTM when available to
allocate memory, which also allows TTM to control almost the entire aperture.
As a result, our front/back/depth buffers are created as real buffer objects,
which may be used by the DRI driver instead of the fake buffer type in TTM.
The updated DRM with bo_set_pin ioctl is required, to allow us to pin and
unpin our buffers as needed.
|
|
Conflicts:
src/i830.h
src/i830_driver.c
|
|
Use consistent interface for counting pixmap offset.
|
|
This adds VFE state and interface descriptor struct define.
|
|
Conflicts:
src/i830.h
src/i830_memory.c
|
|
Looking at the 7304, this chipset likely requires slightly different
programming. However, this change allows for at least some functionality.
|
|
Turns out we can get away without this, so remove it, fix a crash, and only
swap planes/pipes if the DRM can support it.
|
|
Move plane->pipe mapping adjustment to ScreenInit so we can check
against the DRM driver version accurately.
|
|
Use pScreen directly when getting at the SAREA private, since
pScrn->pScreen may not be initialized yet.
|
|
We want to associate plane A with pipe B on pre-965 mobile chips, since that's
the only way to get framebuffer compression on the builtin LVDS on those
platforms. However, if we do this swapping and DRM isn't aware of it, we may
end up requesting vblank events for the wrong pipe, or setting up SAREA buffer
swap state incorrectly.
This mod checks whether DRM supports the new plane->pipe swapping behavior, and
only enables the swapping if so. This should fix the bugs Lukas found and
debugged. Reviewed by Michel Danzer.
|
|
With the libpciaccess change that added these new APIs, use them
for all mapping.
|
|
G33 GTT table lives in seperate stolen mem with
graphics data stolen mem.
|
|
The TV format property cannot be configured until RandR has been
initialized.
|
|
|
|
|
|
|
|
From spec, i915 engine uses green channel when reading from 8bit
color buffer for blending, and also writes back green channel.
Fix blend factor in dest alpha case by using dest color instead.
Now rendercheck can pass a8 tests.
|
|
Change to use libpciaccess APIs, including computing and using BAR indices
for various mapping activities.
|