diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2022-07-12 14:32:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-25 17:15:12 -0400 |
commit | a7cefb0b40dcfdafedc54a3ba659327d0336956d (patch) | |
tree | b7ee4ac0e8ac6ae4d8b3cacfafcefb8c25d11554 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 319568d75f5f91cd4f362b26e65af2a4437c64bf (diff) |
drm/amd/display: Guard against zero memory channels
[Why]
If BIOS doesn't specify number of memory channels then bandwidth
validation will fail due to insufficient BW in DML.
[How]
If BIOS is setting zero channels then use the default in the table.
If no entry is in the table and no BIOS value is specified then
throw an ASSERT for future developers to look into.
Reviewed-by: Michael Strauss <Michael.Strauss@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions