From 9d3ff0b49e2608507eb942eef84584023d6da060 Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 27 Nov 2021 04:32:32 +0000 Subject: [PATCH] drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors From hongao 04c586a601dc0acb8e739205db350ab660dffc4f in linux 5.10.y/5.10.82 bf552083916a7f8800477b5986940d1c9a31b953 in mainline linux --- sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c index b9c11c2b288..0de66f59adb 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_connectors.c @@ -827,6 +827,7 @@ static int amdgpu_connector_vga_get_modes(struct drm_connector *connector) amdgpu_connector_get_edid(connector); ret = amdgpu_connector_ddc_get_modes(connector); + amdgpu_get_native_mode(connector); return ret; } -- 2.20.1