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>
This commit is contained in:
parent
ea1527a8a6
commit
12769c516d
|
@ -76,7 +76,11 @@ xf86OSInitVidMem(VidMemInfoPtr pVidMem)
|
||||||
void
|
void
|
||||||
xf86OSInputThreadInit()
|
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
|
Bool
|
||||||
|
|
Loading…
Reference in New Issue