The fast boot optimization should be enabled when the current
display controller engine version is DCE 10 or newer.
This was a typo.
By mistake, it was enabled for older than DCE 10.
Fixes: 7495962cbceb ("drm/amd/display: Disable fastboot on DCE 6 too")
Signed-off-by: Timur Kristóf <[email protected]>
Tested-by: Mauro Rossi <[email protected]>
---
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
index 4659e1b489ba..bd3a9f008699 100644
--- a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
@@ -1965,7 +1965,7 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct
dc_state *context)
get_edp_streams(context, edp_streams, &edp_stream_num);
/* Check fastboot support, disable on DCE 6-8 because of blank screens
*/
- if (edp_num && edp_stream_num && dc->ctx->dce_version <
DCE_VERSION_10_0) {
+ if (edp_num && edp_stream_num && dc->ctx->dce_version >=
DCE_VERSION_10_0) {
for (i = 0; i < edp_num; i++) {
edp_link = edp_links[i];
if (edp_link != edp_streams[0]->link)
--
2.52.0