[PATCH xserver 1/3] modesetting: Hide cursor during DPMS
alexdeucher at gmail.com
Thu Aug 3 12:54:22 UTC 2017
On Thu, Aug 3, 2017 at 12:19 AM, Keith Packard <keithp at keithp.com> 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
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel