++
On 2/10/26 7:50 AM, Ray Wu wrote:
From: Charlene Liu <[email protected]>
[Why]
Fix fastboot broken in driver.
This is caused by an open source backport change 7495962c.
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.
Reviewed-by: Ovidiu Bunea <[email protected]>
Signed-off-by: Charlene Liu <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
7495962c was already applied to 6.19. This should go to stable to avoid
fastboot being broken in 6.19.y.
Fixes: 7495962cbceb9 ("drm/amd/display: Disable fastboot on DCE 6 too")
Cc: [email protected]
Reviewed-by: Mario Limonciello (AMD) <[email protected]>
---
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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..4277b6761522 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
@@ -1964,8 +1964,8 @@ 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) {
+ /* Check fastboot support, disable on DCE 6-8-10 because of blank
screens */
+ 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)