[Openchrome-devel] KMS, TTM/GEM status
Tue Jun 7 01:25:42 PDT 2011
On 06/07/2011 03:38 AM, Forest Bond wrote:
> Hi James,
> On Sat, Jun 04, 2011 at 02:01:55AM +0100, James Simmons wrote:
>>> I see you have continued your work on KMS and TTM/GEM support for the via DRM
>>> driver. Thank you for your efforts to move things forward.
>> Thank you for trying this code out.
> I haven't actually tried it yet. ;)
>>> I am wondering what the current status of this work is. Do you foresee the KMS
>>> and TTM/GEM support being merged into mainline anytime soon?
>> Going mainline will not be for a while. The main line driver has
>> been in a state of decay for some time. The driver we work on is currently
>> growing since it attempts covers several generations of VIA hardware. So
>> alot of work needs to be done.
>> KMS is being implemented but it's currently turned off by default.
>> Unfortunely turning on KMS gives you the black screen of death. PLL needs
>> to be programmed as well as the display fifo. TTM is mostly implemented.
>> Fencing needs to be done. I plan to finish the TTM layer soon and start
>> working on the xorg driver to use this layer.
> I am glad you are continuing to make progress. Thank you for your work!
>>> Also, does your work tie into Thomas Hellstr?m's work on the openchrome Mesa
>>> driver? Do you have any idea what the status of that work is?
>> Last I seen the work has been stopped for some time. Currently no Mesa
>> work is being done on my end. As for Thomas drm kernel driver I would say
>> both our drivers are on the same level. The one difference is I have
>> attempted to maintain the old VIA driver ioctl apis as well as support new
>> TTM functionality at the same time.
> Okay. Sounds like it will be a long while before we can expect any improvements
> in Mesa support.
When I stopped working on the mesa driver (openchrome-branch) it was
actually working quite well, both with regard to robustness and speed. I
just simply didn't have the time anymore since I got a child... I
remember trying it out with a P4M890 (one of the last non-DX9 fixed
function chipsets for Intel processors), and it beat the i965 driver
running with the same processor on most things.
Anyway, that driver required the buffer suballocation (user-space
fencing) and synchronization features of TTM, which aren't exposed by
default by the GEM interface. This was to get up to speed with texture
allocation and things like accelerated drawpixels and glBitmap.
More information about the Openchrome-devel