diff options
author | Dillon Varone <[email protected]> | 2022-11-11 14:06:58 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-11-23 09:01:53 -0500 |
commit | e667ee3b0c049bf0c69426879586a2572bb28d26 (patch) | |
tree | e1247aed16850beba7d76e2eed7c5f995b26ead7 /lib/mpi/mpi-mod.c | |
parent | 2a5dd86a69ea5435f1a837bdb7fafcda609a7c91 (diff) |
drm/amd/display: Use new num clk levels struct for max mclk index
[WHY?]
When calculating watermark and dlg values, the max mclk level index and
associated speed are needed to find the correlated dummy latency value.
Currently the incorrect index is given due to a clock manager refactor.
[HOW?]
Use num_memclk_level from num_entries_per_clk struct for getting the correct max
mem speed.
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Brian Chang <[email protected]>
Signed-off-by: Dillon Varone <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions