KMS and TTM questions

Jerome Glisse j.glisse at
Mon Oct 3 13:34:42 PDT 2011

On Mon, Oct 3, 2011 at 3:37 PM, James Simmons <jsimmons at> wrote:
>> > Hi!
>> >
>> >        I been working on updating the VIA kernel driver to using KMS
>> > and TTM. So this weekend I started to implement a couple of buffer
>> > allocations internally to the driver from the video ram. So the first
>> > buffer I allocated was not the front buffer from the video vram but a
>> > virtual queue buffer of about 256K in size. The second allocation was
>> > the front buffer. The problem was the buffer offset for the second
>> > allocation was the same as the VQ buffer. I'm stump to what I'm doing
>> > wrong, so does anyone have a idea?
>> Without code to look at we all can start guessing :) my guess is either
>> you are not using the proper offset field or you are allocating from
>> different memory pool.

More information about the dri-devel mailing list