diff options
author | Hersen Wu <hersenxs.wu@amd.com> | 2024-04-23 10:57:37 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:44 -0400 |
commit | f1fd8a0a54e6d23a6d16ee29159f247862460fd1 (patch) | |
tree | 0d206f2dc12cbab3e10c26d49016887e59902ef9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c | |
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 <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 'drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c')
0 files changed, 0 insertions, 0 deletions