drm/amdgpu: change gfx 11.0.4 external_id range
authorjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 03:18:50 +0000 (03:18 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 03:18:50 +0000 (03:18 +0000)
From Yifan Zhang
6197fb331a6e274355bbcd04386a2631e8cf7f1c in linux-6.1.y/6.1.29
996e93a3fe74dcf9d467ae3020aea42cc3ff65e3 in mainline linux

sys/dev/pci/drm/amd/amdgpu/soc21.c

index 9c52af5..d150a90 100644 (file)
@@ -715,7 +715,7 @@ static int soc21_common_early_init(void *handle)
                        AMD_PG_SUPPORT_VCN_DPG |
                        AMD_PG_SUPPORT_GFX_PG |
                        AMD_PG_SUPPORT_JPEG;
-               adev->external_rev_id = adev->rev_id + 0x1;
+               adev->external_rev_id = adev->rev_id + 0x80;
                break;
 
        default: