mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
drm/amd/display: Find max flickerless instant vtotal delta
[WHAT & HOW] - Populate dml 2 callback with get_max_flickerless_instant_vtotal_increase - Use long long when necessary to prevent overflow - Add asic specific default values, currently disabled by default for every asic - Use the pre-existing debug option to protect the call to get_max_flickerless_instant_vtotal_increase Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Ethan Bitnun <etbitnun@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
2eb7d4b987
commit
bd051aa2fc
@@ -104,6 +104,9 @@ struct dml2_dc_callbacks {
|
||||
struct dc_state *state,
|
||||
const struct dc_stream_state *stream);
|
||||
struct dc_stream_state *(*get_stream_from_id)(const struct dc_state *state, unsigned int id);
|
||||
unsigned int (*get_max_flickerless_instant_vtotal_increase)(
|
||||
struct dc_stream_state *stream,
|
||||
bool is_gaming);
|
||||
};
|
||||
|
||||
struct dml2_dc_svp_callbacks {
|
||||
|
||||
Reference in New Issue
Block a user