mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
drm/amd/display: fix dml max voltage state
Gabe's formula sometimes uses values from non-existent 'unsupported' state to do validation. This change adds this extra state so validation can work correctly. Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b76dfbef06
commit
8d6da3bbfd
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ struct _vcs_dpi_soc_bounding_box_st {
|
|||
int use_urgent_burst_bw;
|
||||
double max_hscl_ratio;
|
||||
double max_vscl_ratio;
|
||||
struct _vcs_dpi_voltage_scaling_st clock_limits[7];
|
||||
unsigned int num_states;
|
||||
struct _vcs_dpi_voltage_scaling_st clock_limits[8];
|
||||
};
|
||||
|
||||
struct _vcs_dpi_ip_params_st {
|
||||
|
|
Loading…
Reference in a new issue