aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorMichael Strauss <[email protected]>2021-10-21 13:27:16 -0400
committerAlex Deucher <[email protected]>2021-10-27 22:04:32 -0400
commit54149d13f369e1ab02f36b91feee02069184c1d8 (patch)
tree4e5b969ac2cd97e6848015d90243ffb3c42a575f /scripts/gcc-plugins/randomize_layout_plugin.c
parent3f4e54bd312d3dafb59daf2b97ffa08abebe60f5 (diff)
drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
[WHY] On certain configs, SMU clock table voltages don't match which cause parser to behave incorrectly by leaving dcfclk and socclk table entries unpopulated. [HOW] Currently the function that finds the corresponding clock for a given voltage only checks for exact voltage level matches. In the case that no match gets found, parser now falls back to searching for the max clock which meets the requested voltage (i.e. its corresponding voltage is below requested). Signed-off-by: Michael Strauss <[email protected]> Reviewed-by: Nicholas Kazlauskas <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions