diff options
author | Hersen Wu <hersenxs.wu@amd.com> | 2024-04-23 17:57:37 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-27 00:22:44 +0300 |
commit | f1fd8a0a54e6d23a6d16ee29159f247862460fd1 (patch) | |
tree | 0d206f2dc12cbab3e10c26d49016887e59902ef9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1357b2165d9ad94faa4c4a20d5e2ce29c2ff29c3 (diff) | |
download | linux-f1fd8a0a54e6d23a6d16ee29159f247862460fd1.tar.xz |
drm/amd/display: Fix overlapping copy within dml_core_mode_programming
[WHY]
&mode_lib->mp.Watermark and &locals->Watermark are
the same address. memcpy may lead to unexpected behavior.
[HOW]
memmove should be used.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions