Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95f05a3a authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/display: disable eDP fast boot optimization on DCE8

parent e6f8d26e
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1588,6 +1588,12 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
	bool can_eDP_fast_boot_optimize = false;

	if (edp_link) {
		/* this seems to cause blank screens on DCE8 */
		if ((dc->ctx->dce_version == DCE_VERSION_8_0) ||
		    (dc->ctx->dce_version == DCE_VERSION_8_1) ||
		    (dc->ctx->dce_version == DCE_VERSION_8_3))
			can_eDP_fast_boot_optimize = false;
		else
			can_eDP_fast_boot_optimize =
				edp_link->link_enc->funcs->is_dig_enabled(edp_link->link_enc);
	}