drm/amdgpu: report DC not supported if virtual display is enabled (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Aug 2020 00:17:30 +0000 (20:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Aug 2020 20:40:19 +0000 (16:40 -0400)
commitc997e8e26c001c1a92200f44027f6c915c8f5487
tree355b187d70c822d212e1664bff30c30021294f82
parent6178aed011a31b7d242b80ed3e83fcc9b67444e1
drm/amdgpu: report DC not supported if virtual display is enabled (v2)

Virtual display is non-atomic so report false to avoid checking
atomic state and other atomic things at runtime.

v2: squash into the sr-iov check

Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c