diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2019-04-11 14:11:47 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 09:34:10 -0500 |
commit | 78b674573a552f046322d70b943349c133241e04 (patch) | |
tree | d581a8c47c0ee4091ebd7a0582c1506431782f0f /drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h | |
parent | be67de3561352ca59e4cef86811c1183719dc4e3 (diff) | |
download | linux-stable-78b674573a552f046322d70b943349c133241e04.tar.gz linux-stable-78b674573a552f046322d70b943349c133241e04.tar.bz2 linux-stable-78b674573a552f046322d70b943349c133241e04.zip |
drm/amd/display: Refactor program watermark.
Refactor programming watermark function:
Divided into urgent watermark, stutter watermark and pstate watermark.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h index cdd19f5887d7..6ca4a5a9f8c7 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.h @@ -102,4 +102,8 @@ void hubbub2_get_dchub_ref_freq(struct hubbub *hubbub, void hubbub2_wm_read_state(struct hubbub *hubbub, struct dcn_hubbub_wm *wm); +void hubbub2_setup_vmid_ptb(struct hubbub *hubbub, + uint64_t ptb, + uint8_t vmid); + #endif |