Skip to content

Commit 7da55c2

Browse files
Aurabindo Pillaialexdeucher
Aurabindo Pillai
authored andcommitted
drm/amd/display: Remove incorrect FP context start
All the DC_FP_START/END should be used before call anything from DML2, for this reason, the use of those guards inside DML it is not correct. This commit removes two unnecessary DC_FP_START/END from a dml2 function. Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent e7595e3 commit 7da55c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c

-2
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,6 @@ static void dml2_init(const struct dc *in_dc, const struct dml2_configuration_op
759759

760760
bool dml2_create(const struct dc *in_dc, const struct dml2_configuration_options *config, struct dml2_context **dml2)
761761
{
762-
DC_FP_START();
763762
// TODO : Temporarily add DCN_VERSION_3_2 for N-1 validation. Remove DCN_VERSION_3_2 after N-1 validation phase is complete.
764763
if ((in_dc->debug.using_dml21) && (in_dc->ctx->dce_version == DCN_VERSION_4_01 || in_dc->ctx->dce_version == DCN_VERSION_3_2)) {
765764
return dml21_create(in_dc, dml2, config);
@@ -773,7 +772,6 @@ bool dml2_create(const struct dc *in_dc, const struct dml2_configuration_options
773772

774773
dml2_init(in_dc, config, dml2);
775774

776-
DC_FP_END();
777775
return true;
778776
}
779777

0 commit comments

Comments
 (0)