diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2024-03-07 14:50:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-22 15:49:38 -0400 |
commit | 8803bfffb7f81a6e62950ce772bd4d02b02b1adf (patch) | |
tree | 0ded8aafcf68c36fa3a806524d5551e23a58d09d /drivers/gpu/drm/amd/display/dc/dc.h | |
parent | 93ddf00f874c26e078ba01010bc126f521d49e7f (diff) | |
download | linux-8803bfffb7f81a6e62950ce772bd4d02b02b1adf.tar.gz linux-8803bfffb7f81a6e62950ce772bd4d02b02b1adf.tar.bz2 linux-8803bfffb7f81a6e62950ce772bd4d02b02b1adf.zip |
drm/amd/display: Add optional optimization for IPS handshake
[Why]
It's possible to skip parts of the eval and exit sequencing if we know
whether DCN is in IPS2 already or if it's committed to going to idle
and not in IPS2.
[How]
Skip IPS2 entry/exit if DMCUB is idle but the IPS2 commit is not set.
Skip the eval delay if DMCUB is already in IPS2 since we know we need
to exit.
These are turned off by default.
Reviewed-by: Duncan Ma <duncan.ma@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 7b22c2efed77..d280f55ebe50 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -988,6 +988,7 @@ struct dc_debug_options { bool psp_disabled_wa; unsigned int ips2_eval_delay_us; unsigned int ips2_entry_delay_us; + bool optimize_ips_handshake; bool disable_dmub_reallow_idle; bool disable_timeout; bool disable_extblankadj; |