diff options
| author | Anthony Koo <[email protected]> | 2018-04-05 00:59:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 16:10:51 +0000 |
| commit | e80e9446084168c4f186f502dd15e6241bf454a1 (patch) | |
| tree | 3eaa250e263ded2b8f1838f650c4e7c181787ae3 /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
| parent | drm/amd/display: Refactor FreeSync module (diff) | |
| download | kernel-e80e9446084168c4f186f502dd15e6241bf454a1.tar.gz kernel-e80e9446084168c4f186f502dd15e6241bf454a1.zip | |
drm/amd/display: add method to check for supported range
Signed-off-by: Anthony Koo <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h index bd75ca5f1cd3..e7d77bb6209f 100644 --- a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +++ b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h @@ -159,4 +159,11 @@ void mod_freesync_handle_v_update(struct mod_freesync *mod_freesync, const struct dc_stream_state *stream, struct mod_vrr_params *in_out_vrr); +bool mod_freesync_is_valid_range(struct mod_freesync *mod_freesync, + const struct dc_stream_state *stream, + uint32_t min_refresh_cap_in_uhz, + uint32_t max_refresh_cap_in_uhz, + uint32_t min_refresh_request_in_uhz, + uint32_t max_refresh_request_in_uhz); + #endif |
