diff options
author | Ilya Bakoulin <ilya.bakoulin@amd.com> | 2024-07-09 13:11:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-23 17:36:42 -0400 |
commit | a90e1dc25c064bf21353cb342aac938662a148e4 (patch) | |
tree | b87b59bc1a9b83d30cb96cbc3d44364ea1da1b56 /drivers/gpu/drm/amd/display/dc/dc.h | |
parent | fa53b23ff7c98930c7e529b8f5228d9f182ae2bc (diff) | |
download | linux-a90e1dc25c064bf21353cb342aac938662a148e4.tar.gz linux-a90e1dc25c064bf21353cb342aac938662a148e4.tar.bz2 linux-a90e1dc25c064bf21353cb342aac938662a148e4.zip |
drm/amd/display: Add helper function to check for non-address fast updates
[Why/How]
Need to identify which fast updates will update more than just the
address.
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Ilya Bakoulin <ilya.bakoulin@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 036b23a6e324..272ae1bdc57f 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -1587,6 +1587,12 @@ bool dc_acquire_release_mpc_3dlut( bool dc_resource_is_dsc_encoding_supported(const struct dc *dc); void get_audio_check(struct audio_info *aud_modes, struct audio_check *aud_chk); + +bool fast_nonaddr_updates_exist(struct dc_fast_update *fast_update, int surface_count); +void populate_fast_updates(struct dc_fast_update *fast_update, + struct dc_surface_update *srf_updates, + int surface_count, + struct dc_stream_update *stream_update); /* * Set up streams and links associated to drive sinks * The streams parameter is an absolute set of all active streams. |