]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/display: USB4 bring up set correct address
authorJude Shih <shenshih@amd.com>
Mon, 4 Oct 2021 14:40:50 +0000 (22:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Oct 2021 14:32:06 +0000 (10:32 -0400)
[Why]
YELLOW_CARP_B0 address was not correct

[How]
Set YELLOW_CARP_B0 to 0x1A.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Jude Shih <shenshih@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/include/dal_asic_id.h

index 381c17caace189fa06b0c416d86ab74ae9b64bd8..5adc471bef57f8a89dc76a390f5b6ea2e2f76cfd 100644 (file)
@@ -227,7 +227,7 @@ enum {
 #define FAMILY_YELLOW_CARP                     146
 
 #define YELLOW_CARP_A0 0x01
-#define YELLOW_CARP_B0 0x02            // TODO: DCN31 - update with correct B0 ID
+#define YELLOW_CARP_B0 0x1A
 #define YELLOW_CARP_UNKNOWN 0xFF
 
 #ifndef ASICREV_IS_YELLOW_CARP