mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-11 06:00:55 -04:00
drm/amd/display: limit coverage of optimization skip
[why&how] causing some regression on dgpu which still needs the pre-emptive return, limit this to reporter asic version it is simple to include different dcn versions from this point forward, each dcn resource is initialized with the flag and can be enabled at will Reviewed-by: Chris Park <chris.park@amd.com> Signed-off-by: Ausef Yousof <Ausef.Yousof@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
b474a6e11f
commit
c36d7948bb
@@ -1909,6 +1909,7 @@ static bool dcn35_resource_construct(
|
||||
/* Use pipe context based otg sync logic */
|
||||
dc->config.use_pipe_ctx_sync_logic = true;
|
||||
|
||||
|
||||
dc->config.disable_hbr_audio_dp2 = true;
|
||||
/* read VBIOS LTTPR caps */
|
||||
{
|
||||
|
||||
@@ -1877,6 +1877,7 @@ static bool dcn351_resource_construct(
|
||||
/* Use pipe context based otg sync logic */
|
||||
dc->config.use_pipe_ctx_sync_logic = true;
|
||||
|
||||
|
||||
/* Use psp mailbox to enable assr */
|
||||
dc->config.use_assr_psp_message = true;
|
||||
|
||||
|
||||
@@ -1923,6 +1923,7 @@ static bool dcn401_resource_construct(
|
||||
dc->config.dc_mode_clk_limit_support = true;
|
||||
dc->config.enable_windowed_mpo_odm = true;
|
||||
dc->config.set_pipe_unlock_order = true; /* Need to ensure DET gets freed before allocating */
|
||||
|
||||
/* read VBIOS LTTPR caps */
|
||||
{
|
||||
if (ctx->dc_bios->funcs->get_lttpr_caps) {
|
||||
|
||||
Reference in New Issue
Block a user