Commit 12769c51 authored by Alan Coopersmith's avatar Alan Coopersmith Committed by Adam Jackson
Browse files

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's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent ea1527a8
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment