aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2023-11-03 18:07:11 -0400
committerAlex Deucher <[email protected]>2023-11-29 18:06:21 -0500
commitd60f56b92d3c59364a54618d557d7f9ba5939b21 (patch)
treec27d360f547d267e8f74a767d85d51add69b4b1d /scripts/generate_rust_analyzer.py
parenteb28018943fed7639dfea1c9ec9c756ec692b99a (diff)
drm/amd/display: Update DCN35 clock table policy
[Why] The new table doesn't have an implicit mapping between Fclk SOC voltage and MemClk and it currently builds the table off of number of Fclk states rather than DcfClock states. The DML table in use is not correct for functionality or power and does not align with our existing policies for DCN3x. [How] Build the table based on DcfClock with the following assumptions: 1. Raising Soc voltage is the most expensive operation, so assume that running at max DispClock or DppClock is preferable. 2. Assume that we can run at max Fclk / MemClk at any state, but restrict the maximum state to the very last entry in the table as the worst case scenario. 3. Assume that Fclk always has a 2x multiplier on DcfClock unless the table specifies something lower. Reviewed-by: Taimur Hassan <[email protected]> Acked-by: Hamza Mahfooz <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions