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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 21:59:38 +0000 (16:59 -0500)
commit1053b9c948e614473819a1a5bcaff6d44e680dcf
tree9097d614a56b3d5e278e72c5a86caae2a70feabf
parent3e467e478ed3a9701bb588d648d6e0ccb82ced09
drm/amdgpu: check atomic flag to differeniate with legacy path

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c