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

Keith Packard keithp at keithp.com
Tue Jul 3 11:49:50 PDT 2012

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?

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120703/a4192074/attachment.pgp>

More information about the xorg-devel mailing list