[PATCH 0/5] Switching from HW cursor to SW cursor

Michel Dänzer michel at daenzer.net
Tue Dec 22 20:03:23 PST 2015


On 23.12.2015 01:16, Keith Packard wrote:
> Michel Dänzer <michel at daenzer.net> writes:
> 
>> This series addresses two cases in which a HW cursor cannot be used:
>>
>> 1) When a transform is active on a CRTC. Patch 2 adds a CRTC hook
>>    use_hw_cursor_argb, which allows drivers to force SW cursor on a
>>    per-CRTC basis. However, this hook alone could only force SW cursor
>>    as of the next time a new cursor image is set. The
>>    xf86CursorResetCursor function added in patch 1 allows switching
>>    between HW cursor and SW cursor immediately.
> 
> Yes, the current driver interface can only make a per-screen decision,
> not a per-crtc one. I guess it's useful to still have the HW cursor on
> the CRTC which can support it?

Are you asking if that's a motivation for this series? It's not; this
series doesn't support mixing HW and SW cursors on a single screen. The
SW cursor is visible on all CRTCs of a screen.

Or are you suggesting that this should be supported? Maybe, but it's
beyond the scope of this series (and my interest in the matter).


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list