diff options
| author | Hersen Wu <[email protected]> | 2024-04-23 10:57:37 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-26 17:22:44 -0400 |
| commit | f1fd8a0a54e6d23a6d16ee29159f247862460fd1 (patch) | |
| tree | 0d206f2dc12cbab3e10c26d49016887e59902ef9 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 1357b2165d9ad94faa4c4a20d5e2ce29c2ff29c3 (diff) | |
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 <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Hersen Wu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions