[PATCH xserver 1/3] modesetting: Hide cursor during DPMS
michel at daenzer.net
Thu Aug 3 06:47:59 UTC 2017
On 03/08/17 01:19 PM, Keith Packard wrote:
> Michel Dänzer <michel at daenzer.net> writes:
>> Shouldn't this be done at a higher level instead?
> Thanks for a really good question.
> The X server doesn't touch cursors when turning off crtcs that aren't in
> use any more. That's because xf86DisableUnusedFunctions doesn't touch
> the cursor for disabled crtcs, it only sets the cursor for enabled ones.
> I think a better patch is to just disable the cursor whenever we're
> turning the crtc off during mode setting. After the mode setting is
> finished, xf86DisableUnusedFunctions will get called and that will call
> xf86CursorResetCursor to make sure the cursor is enabled everywhere it
> should be.
> Here's a replacement for the modesetting patch which does this up in
Looks good to me.
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 224 bytes
Desc: OpenPGP digital signature
More information about the xorg-devel