[PATCH 18/36] privates: when pixmap privates increase, bump the totalPixmapSize

Dave Airlie airlied at gmail.com
Tue Jul 3 11:53:32 PDT 2012

On Tue, Jul 3, 2012 at 7:49 PM, Keith Packard <keithp at keithp.com> wrote:
> Dave Airlie <airlied at gmail.com> writes:
>> On Tue, Jul 3, 2012 at 7:26 PM, Keith Packard <keithp at keithp.com> wrote:
>> This sounds like what we want, do we have any examples of this sort of
>> thing already, I could take a look tomorrow, though it would be a bit of
>> a change to drivers that currently allocate privates.
> Not that I know of. In ancient times, cfb and mfb "shared" a block of
> privates by using the same private index with different contents.
> Adding this notion to the privates code should be pretty easy; it just
> makes the screen-related object sizes screen-specific.
>> well modesetting Init adds the private allocation, but since nobody binds to
>> it initially it never gets its private allocated, until something hotplugs later
>> then it increases after CSR has run.
> I can't find any private allocation done by the modesetting driver; did
> I miss it?

Look in my repo prime branch, all the driver hacks are in prime
branches in my personal repos.


More information about the xorg-devel mailing list