]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Find max flickerless instant vtotal delta
authorEthan Bitnun <etbitnun@amd.com>
Mon, 1 Apr 2024 17:50:10 +0000 (13:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 19:47:53 +0000 (15:47 -0400)
commitbd051aa2fcfb803b94708429970f71596a4748e4
tree3b2d83acc2f21e54c3acbff41e7b648680d3ebb6
parent2eb7d4b98700fe7612521e5226437fb9e7a65af5
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>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/core/dc_stream.c
drivers/gpu/drm/amd/display/dc/dc_stream_priv.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h