drm/amdgpu: support B0&B1 external revision id for yellow carp
authorAaron Liu <aaron.liu@amd.com>
Tue, 19 Oct 2021 03:13:25 +0000 (11:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Oct 2021 19:27:31 +0000 (15:27 -0400)
commit53c2ff8bcb06acd07e24a62e7f5a0247bd7c6f67
tree5a302e54526860f35051b99b80166f550849e2d1
parent2ef8ea23942f4c2569930c34e7689a0cb1b232cc
drm/amdgpu: support B0&B1 external revision id for yellow carp

B0 internal rev_id is 0x01, B1 internal rev_id is 0x02.
The external rev_id for B0 and B1 is 0x20.
The original expression is not suitable for B1.

v2: squash in fix for display code (Alex)

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/display/include/dal_asic_id.h