Commit 1bd4653a authored by Roman Li's avatar Roman Li Committed by Alex Deucher

drm/amd/display: increase polling interval for fbc status update

1.Fixing error message:
"wait counter exceeded, changes to HW not applied"
2. Added "FBC status changed to 0/1" logs
Signed-off-by: default avatarRoman Li <Roman.Li@amd.com>
Reviewed-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 42f8ffa1
......@@ -115,7 +115,7 @@ static void wait_for_fbc_state_changed(
FBC_STATUS,
FBC_ENABLE_STATUS) == enabled)
break;
udelay(10);
msleep(10);
counter++;
}
......@@ -124,7 +124,13 @@ static void wait_for_fbc_state_changed(
cp110->base.ctx->logger, LOG_WARNING,
"%s: wait counter exceeded, changes to HW not applied",
__func__);
} else {
dm_logger_write(
cp110->base.ctx->logger, LOG_SYNC,
"FBC status changed to %d", enabled);
}
}
void dce110_compressor_power_up_fbc(struct compressor *compressor)
......
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