drm/amdgpu: check atomic flag to differeniate with legacy path
authorFlora Cui <flora.cui@amd.com>
Thu, 18 Nov 2021 08:25:19 +0000 (16:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 09:30:16 +0000 (10:30 +0100)
commit62477b3a86d6dc4ebae0b0e7fde627e779e5f6d9
treeced6aa727d28a8a504c468046c1129c3ccd2f76d
parent796ddc81437bd172c92bfab15e69ba54306e4606
drm/amdgpu: check atomic flag to differeniate with legacy path

[ Upstream commit 1053b9c948e614473819a1a5bcaff6d44e680dcf ]

since vkms support atomic KMS interface

Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Acked-by: Alex Deucher <aleander.deucher@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c