mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 06:21:34 +07:00
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>
This commit is contained in:
parent
be67de3561
commit
78b674573a
@ -294,7 +294,7 @@ bool hubbub2_get_dcc_compression_cap(struct hubbub *hubbub,
|
||||
return true;
|
||||
}
|
||||
|
||||
static void hubbub2_setup_vmid_ptb(struct hubbub *hubbub,
|
||||
void hubbub2_setup_vmid_ptb(struct hubbub *hubbub,
|
||||
uint64_t ptb,
|
||||
uint8_t vmid)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user