drm/amdgpu: fix the lost duplicates checking
drm/amdgpu: fix the lost duplicates checking

Signed-off-by: Chunming Zhou <10cadc3b961de63384e6c8415da7f62c45a9fefa@amd.com>
Reviewed-by: Christian König <c7ea837d7a46effe4232b086213468b8b31643bf@amd.com>
Reviewed-by: Jammy Zhou <302958b3037f7fa601b11152090f51ed851f29fd@amd.com>
Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@vger.kernel.org

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs