On a cedartrail during boot the following error was logged each boot: [ 12.168341] gma500 0000:00:02.0: GPU: power management timed out. Increase the timeout to fix this. Sometimes the display also failed to come up properly (userspace was running normally, but the LCD was showing all black as contents). Hopefully this also fix this issue. Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> --- drivers/gpu/drm/gma500/cdv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c index ce96234f3df2..ff5104fe5692 100644 --- a/drivers/gpu/drm/gma500/cdv_device.c +++ b/drivers/gpu/drm/gma500/cdv_device.c @@ -230,7 +230,7 @@ static void cdv_init_pm(struct drm_device *dev) u32 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); if ((pwr_sts & PSB_PWRGT_GFX_MASK) == 0) return; - udelay(10); + usleep_range(100, 1000); } dev_err(dev->dev, "GPU: power management timed out.\n"); } -- 2.37.2