drm/amdgpu: disable DRIVER_ATOMIC under SRIOV
authorYintian Tao <yttao@amd.com>
Tue, 16 Apr 2019 06:04:38 +0000 (14:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Apr 2019 16:33:06 +0000 (11:33 -0500)
commit4cb62b50de6fccf957e8926e37a2840c204c2a76
treecb2f23134e9e007aa85b40c4f60abd303ea35c9a
parent36e499b2490a470a9a1e8d40096b4e397efac056
drm/amdgpu: disable DRIVER_ATOMIC under SRIOV

Under SRIOV, we need disable DRIVER_ATOMIC.
Otherwise, it will trigger WARN_ON at drm_universal_plane_init.

Signed-off-by: Yintian Tao <yttao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c