From 379ef4c9d158b38b0ea942e1ddf8ac8571fbef20 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 14 Jan 2013 01:07:36 +0100 Subject: [PATCH] fbaccel: relax waitForIdle() timeout on coolstream --- src/driver/fbaccel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/fbaccel.cpp b/src/driver/fbaccel.cpp index a2a0b0dd5..0eeec9742 100644 --- a/src/driver/fbaccel.cpp +++ b/src/driver/fbaccel.cpp @@ -127,9 +127,9 @@ void CFbAccel::waitForIdle(void) so use sched_yield to at least give other threads a chance to run */ sched_yield(); //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); } #elif HAVE_TRIPLEDRAGON