drm/amd/display: Add bios firmware info version for VG12
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Wed, 22 Nov 2017 19:16:13 +0000 (14:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:24:45 +0000 (14:24 -0500)
VG12 shows minor revision version of 2 which is not handled in
bios_parser_get_firmware_info() routine.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c

index e7680c41f117fe13fde9c97c2d7e941760ca91b9..985fe8c22875abe3610de2f8fb0dc64c12bba2cf 100644 (file)
@@ -1321,6 +1321,7 @@ static enum bp_result bios_parser_get_firmware_info(
                case 3:
                        switch (revision.minor) {
                        case 1:
+                       case 2:
                                result = get_firmware_info_v3_1(bp, info);
                                break;
                        default: