]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add a missing hook to DCN20
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 27 Sep 2022 21:59:05 +0000 (17:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Oct 2022 21:32:55 +0000 (17:32 -0400)
commit3008caa4e0458726fe80cabe5e1d6441d1631bb6
treef017ac4785aa1aa3e957f835e4b6857536062f2d
parentb49321c4a5ba2355179d400846de32324005f3e5
drm/amd/display: Add a missing hook to DCN20

The struct timing_generator_funcs provides a hook for setting up the
maximum possible vertical dimension of display for OTG, as the panel
supports. DCN10 has a standard function named optc1_set_vtotal_min_max
which all ASICs can use to set the aforementioned hook. Since we did not
set it for DCN20, this commit initializes the set_vtotal_min_max with
the DCN10 function.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c