os-support/solaris: Set IOPL for input thread too

Since the Solaris kernel tracks IOPL per thread, and doesn't inherit
raised IOPL levels when creating a new thread, we need to turn it on
in the input thread for input drivers like vmmouse that need register
access to work correctly.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit 12769c516d)
This commit is contained in:
Alan Coopersmith 2019-02-21 15:38:07 -08:00 committed by Matt Turner
parent f778e76eb4
commit cc503031c3

View File

@ -76,7 +76,11 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
void
xf86OSInputThreadInit()
{
return;
/*
* Need to enable in input thread as well, as Solaris kernel tracks
* IOPL per-thread and doesn't inherit when creating a new thread.
*/
xf86EnableIO();
}
Bool