Skip to content

Commit 3708bea

Browse files
charliu-AMDENGgregkh
authored andcommitted
drm/amd/display: Correct logic check error for fastboot
[ Upstream commit b6a6500 ] [Why] Fix fastboot broken in driver. This is caused by an open source backport change 7495962. from the comment, the intended check is to disable fastboot for pre-DCN10. but the logic check is reversed, and causes fastboot to be disabled on all DCN10 and after. fastboot is for driver trying to pick up bios used hw setting and bypass reprogramming the hw if dc_validate_boot_timing() condition meets. Fixes: 7495962 ("drm/amd/display: Disable fastboot on DCE 6 too") Cc: stable@vger.kernel.org Reviewed-by: Mario Limonciello <Mario.Limonciello@amd.com> Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4ab0ca2 commit 3708bea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,8 +1910,8 @@ void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context)
19101910

19111911
get_edp_streams(context, edp_streams, &edp_stream_num);
19121912

1913-
/* Check fastboot support, disable on DCE 6-8 because of blank screens */
1914-
if (edp_num && edp_stream_num && dc->ctx->dce_version < DCE_VERSION_10_0) {
1913+
/* Check fastboot support, disable on DCE 6-8-10 because of blank screens */
1914+
if (edp_num && edp_stream_num && dc->ctx->dce_version > DCE_VERSION_10_0) {
19151915
for (i = 0; i < edp_num; i++) {
19161916
edp_link = edp_links[i];
19171917
if (edp_link != edp_streams[0]->link)

0 commit comments

Comments
 (0)