Skip to content

Commit

Permalink
drm/amd/display: Update DCN10 resource
Browse files Browse the repository at this point in the history
Update DCN10 to use legacy fast update and ensure that the MPCC count is
the same as the pipe_count.

Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Rodrigo Siqueira authored and Alex Deucher committed Apr 12, 2024
1 parent 9c78dc9 commit 7dc363e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ static const struct dc_debug_options debug_defaults_diags = {
.disable_pplib_clock_request = true,
.disable_pplib_wm_range = true,
.underflow_assert_delay_us = 0xFFFFFFFF,
.enable_legacy_fast_update = true,
};

static void dcn10_dpp_destroy(struct dpp **dpp)
Expand Down Expand Up @@ -1631,6 +1632,7 @@ static bool dcn10_resource_construct(
/* valid pipe num */
pool->base.pipe_count = j;
pool->base.timing_generator_count = j;
pool->base.mpcc_count = j;

/* within dml lib, it is hard code to 4. If ASIC pipe is fused,
* the value may be changed
Expand Down

0 comments on commit 7dc363e

Please sign in to comment.