summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDave Airlie2019-05-03 02:00:42 +0200
committerDave Airlie2019-05-03 02:31:07 +0200
commit422449238e9853458283beffed77562d4b40a2fa (patch)
tree2eec3947c77dcdced46a7e391b49b326c2dc18f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentMerge tag 'drm-intel-next-fixes-2019-05-02' of git://anongit.freedesktop.org/... (diff)
parentdrm/amdgpu: power down the Vega20 VCE engine on request (diff)
downloadkernel-qcow2-linux-422449238e9853458283beffed77562d4b40a2fa.tar.gz
kernel-qcow2-linux-422449238e9853458283beffed77562d4b40a2fa.tar.xz
kernel-qcow2-linux-422449238e9853458283beffed77562d4b40a2fa.zip
Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next
- SR-IOV fixes - Raven flickering fix - Misc spelling fixes - Vega20 power fixes - Freesync improvements - DC fixes Signed-off-by: Dave Airlie <airlied@redhat.com> From: Alex Deucher <alexdeucher@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190502193020.3562-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
index 7e7f9ed89ee1..7d484fad3909 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
@@ -36,6 +36,7 @@ void amdgpu_virt_init_setting(struct amdgpu_device *adev)
/* enable virtual display */
adev->mode_info.num_crtc = 1;
adev->enable_virtual_display = true;
+ adev->ddev->driver->driver_features &= ~DRIVER_ATOMIC;
adev->cg_flags = 0;
adev->pg_flags = 0;
}