Skip to content

Commit 731b484

Browse files
Yang Wangalexdeucher
authored andcommitted
drm/amdgpu: disable virtual display support on APP device
virtual display is not support on APP device. Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Gavin Wan <gavin.wan@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 5daff15 commit 731b484

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ void amdgpu_virt_init_setting(struct amdgpu_device *adev)
5656

5757
/* enable virtual display */
5858
if (adev->asic_type != CHIP_ALDEBARAN &&
59-
adev->asic_type != CHIP_ARCTURUS) {
59+
adev->asic_type != CHIP_ARCTURUS &&
60+
((adev->pdev->class >> 8) != AMD_ACCELERATOR_PROCESSING)) {
6061
if (adev->mode_info.num_crtc == 0)
6162
adev->mode_info.num_crtc = 1;
6263
adev->enable_virtual_display = true;

0 commit comments

Comments
 (0)