summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2022-02-18 13:05:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-02-22 14:44:12 -0500
commitd4a7eac27ec2e6b5fdb64066e967fc7767cd4574 (patch)
tree3a70bbadbac76a159e076192474977b40d74322d /drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c
parentfa3e5a43ecd94c9ca9114bb1a023198224974796 (diff)
drm/amdgpu: bypass tiling flag check in virtual display case (v2)
vkms leverages common amdgpu framebuffer creation, and also as it does not support FB modifier, there is no need to check tiling flags when initing framebuffer when virtual display is enabled. This can fix below calltrace: amdgpu 0000:00:08.0: GFX9+ requires FB check based on format modifier WARNING: CPU: 0 PID: 1023 at drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:1150 amdgpu_display_framebuffer_init+0x8e7/0xb40 [amdgpu] v2: check adev->enable_virtual_display instead as vkms can be enabled in bare metal as well. Signed-off-by: Leslie Shi <Yuliang.Shi@amd.com> Signed-off-by: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c')
0 files changed, 0 insertions, 0 deletions