Commit 731b4846 authored by Yang Wang's avatar Yang Wang Committed by Alex Deucher

drm/amdgpu: disable virtual display support on APP device

virtual display is not support on APP device.
Signed-off-by: default avatarYang Wang <kevinyang.wang@amd.com>
Signed-off-by: default avatarGavin Wan <gavin.wan@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5daff15c
......@@ -56,7 +56,8 @@ void amdgpu_virt_init_setting(struct amdgpu_device *adev)
/* enable virtual display */
if (adev->asic_type != CHIP_ALDEBARAN &&
adev->asic_type != CHIP_ARCTURUS) {
adev->asic_type != CHIP_ARCTURUS &&
((adev->pdev->class >> 8) != AMD_ACCELERATOR_PROCESSING)) {
if (adev->mode_info.num_crtc == 0)
adev->mode_info.num_crtc = 1;
adev->enable_virtual_display = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment