[PATCH v2 0/6] Add shadow FB support to the modesetting driver

Keith Packard keithp at keithp.com
Wed Jan 7 19:35:35 PST 2015


Jason Ekstrand <jason at jlekstrand.net> writes:

> Turns out that our trip down the rabbit hole today about the dumb_bo.pitch
> parameter was a red hering.  That was in bytes the entire time.  The actual
> bug was that I was passing cpp rather than bpp into drmmode_create_bo.

Awesome! Glad you figured it out.
>
> If you'd like I can put together a documentation patch, but It isn't really
> realted to this series.

Nah. cpp is a 'weird' value for any X stuff; we have to use bpp as X
supports 1 and 4bpp in addition to byte-addressable 8,16,24 and 32 bpp
drawables.


-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150107/6663a29a/attachment.sig>


More information about the xorg-devel mailing list