Commit 4966c3d9 authored by Jun Lei's avatar Jun Lei Committed by Alex Deucher

drm/amd/display: implement bounding box update based on uclk breakdown

[why]
Actual breakdown of DPM level varies by SKU (for the same family)
DC needs some ability to ammend pre-silicon numbers
Signed-off-by: default avatarJun Lei <Jun.Lei@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1c676a67
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#ifndef __DISPLAY_MODE_STRUCTS_H__ #ifndef __DISPLAY_MODE_STRUCTS_H__
#define __DISPLAY_MODE_STRUCTS_H__ #define __DISPLAY_MODE_STRUCTS_H__
#define MAX_CLOCK_LIMIT_STATES 8
typedef struct _vcs_dpi_voltage_scaling_st voltage_scaling_st; typedef struct _vcs_dpi_voltage_scaling_st voltage_scaling_st;
typedef struct _vcs_dpi_soc_bounding_box_st soc_bounding_box_st; typedef struct _vcs_dpi_soc_bounding_box_st soc_bounding_box_st;
typedef struct _vcs_dpi_ip_params_st ip_params_st; typedef struct _vcs_dpi_ip_params_st ip_params_st;
...@@ -103,7 +105,7 @@ struct _vcs_dpi_soc_bounding_box_st { ...@@ -103,7 +105,7 @@ struct _vcs_dpi_soc_bounding_box_st {
double xfc_xbuf_latency_tolerance_us; double xfc_xbuf_latency_tolerance_us;
int use_urgent_burst_bw; int use_urgent_burst_bw;
unsigned int num_states; unsigned int num_states;
struct _vcs_dpi_voltage_scaling_st clock_limits[8]; struct _vcs_dpi_voltage_scaling_st clock_limits[MAX_CLOCK_LIMIT_STATES];
}; };
struct _vcs_dpi_ip_params_st { struct _vcs_dpi_ip_params_st {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment