diff options
author | Wesley Chalmers <Wesley.Chalmers@amd.com> | 2021-05-06 13:22:19 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-15 17:25:41 -0400 |
commit | a659f2fdf8b9b186c9324e05baa9e2835d47c7d2 (patch) | |
tree | 455e90c1f0be607aabf1dbb75edffa88a370248d /drivers/gpu/drm/amd/display/dc/inc/hw | |
parent | 9cf9498f668d4c78616ebd2fe2e5f3850b189c5b (diff) | |
download | linux-stable-a659f2fdf8b9b186c9324e05baa9e2835d47c7d2.tar.gz linux-stable-a659f2fdf8b9b186c9324e05baa9e2835d47c7d2.tar.bz2 linux-stable-a659f2fdf8b9b186c9324e05baa9e2835d47c7d2.zip |
drm/amd/display: Add interface to get Calibrated Avg Level from FIFO
[WHY]
Hardware has handed down a new sequence requiring the value of this
register be read from clk_mgr.
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@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/inc/hw')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h b/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h index 47c7e4c3a51b..564ea6a727b0 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h @@ -237,6 +237,9 @@ struct stream_encoder_funcs { void (*dp_set_odm_combine)( struct stream_encoder *enc, bool odm_combine); + + uint32_t (*get_fifo_cal_average_level)( + struct stream_encoder *enc); }; #endif /* STREAM_ENCODER_H_ */ |