KMS and TTM questions

Alex Deucher alexdeucher at gmail.com
Tue Oct 4 06:47:27 PDT 2011


On Tue, Oct 4, 2011 at 9:45 AM, James Simmons <jsimmons at infradead.org> wrote:
>
>> >        Second question I have is how are monochrome cursor images
>> > handled with KMS. Yes we need to support CLE266 which is used in a lot
>> > of POS devices. That chipset only supports monochrome cursors.
>>
>> As far as I know, the KMS cursor API doesn't really care what type of
>> cursors are supported.  That's a client driver (ddx, etc.)
>> implementation detail.  The cursor interface just basically has on,
>> off, and position. The client driver (ddx, etc.) can choose to upload
>> a ARGB or mono image.  We should probably add some sort of flag to KMS
>> to ask the driver what types of cursors they support so this could be
>> supported in a generic way.
>
> That is the bit missing. I seen recently you had a patch for passing info
> to userland. It would be nice to add what color depths the cursor
> supports.

I think Dave proposed something like that for the generic KMS ddx.

Alex


More information about the dri-devel mailing list