drm/amd/display: Add DCN314 display SG Support
authorYifan Zhang <yifan1.zhang@amd.com>
Thu, 8 Dec 2022 03:55:15 +0000 (11:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Dec 2022 14:48:05 +0000 (09:48 -0500)
Add display SG support for DCN 3.1.4.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 77277d9..50c783e 100644 (file)
@@ -1503,6 +1503,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
                case IP_VERSION(3, 0, 1):
                case IP_VERSION(3, 1, 2):
                case IP_VERSION(3, 1, 3):
+               case IP_VERSION(3, 1, 4):
                case IP_VERSION(3, 1, 5):
                case IP_VERSION(3, 1, 6):
                        init_data.flags.gpu_vm_support = true;