mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
fbaccel: relax waitForIdle() timeout on coolstream
Origin commit data
------------------
Commit: 379ef4c9d1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-01-14 (Mon, 14 Jan 2013)
This commit is contained in:
@@ -127,9 +127,9 @@ void CFbAccel::waitForIdle(void)
|
|||||||
so use sched_yield to at least give other threads a chance to run */
|
so use sched_yield to at least give other threads a chance to run */
|
||||||
sched_yield();
|
sched_yield();
|
||||||
//fprintf(stderr, "%s: read %02x, expected %02x\n", __FUNCTION__, cfg, _mark);
|
//fprintf(stderr, "%s: read %02x, expected %02x\n", __FUNCTION__, cfg, _mark);
|
||||||
} while(++count < 2048); /* don't deadlock here if there is an error */
|
} while(++count < 8192); /* don't deadlock here if there is an error */
|
||||||
|
|
||||||
if (count > 512) /* more than 100 are unlikely, */
|
if (count > 2048) /* more than 2000 are unlikely, even for large BMP6 blits */
|
||||||
fprintf(stderr, "CFbAccel::waitForIdle: count is big (%d)!\n", count);
|
fprintf(stderr, "CFbAccel::waitForIdle: count is big (%d)!\n", count);
|
||||||
}
|
}
|
||||||
#elif HAVE_TRIPLEDRAGON
|
#elif HAVE_TRIPLEDRAGON
|
||||||
|
Reference in New Issue
Block a user