]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amd/display: re-enable Dynamic ODM policy
authorSamson Tam <Samson.Tam@amd.com>
Wed, 21 Aug 2024 15:03:11 +0000 (11:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:35:06 +0000 (11:35 -0400)
[Why]
Previous disable ODM policy due to underflow issue with sharpener.
Issue is resolved after updating sharpening policy to apply to
both windowed and fullscreen video

[How]
Remove sharpness check disabling Dynamic ODM policy

Reviewed-by: Martin Leung <martin.leung@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c

index 86a877f9a2ec1d11b4c012c3a84d79bcc9800a2f..b0d9aed0f2657dc11bff7f166c04ae0718b204a2 100644 (file)
@@ -514,8 +514,7 @@ static void populate_dml21_stream_overrides_from_stream_state(
                break;
        }
        if (!stream->ctx->dc->debug.enable_single_display_2to1_odm_policy ||
-                       stream->debug.force_odm_combine_segments > 0 ||
-                       stream->ctx->dc->debug.force_sharpness > 1)
+                       stream->debug.force_odm_combine_segments > 0)
                stream_desc->overrides.disable_dynamic_odm = true;
        stream_desc->overrides.disable_subvp = stream->ctx->dc->debug.force_disable_subvp || stream->hw_cursor_req;
 }