drm/amdgpu: differentiate external rev id for gfx 11.5.0
commit 6dba20d23e
upstream.
This patch to differentiate external rev id for gfx 11.5.0.
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
14dd86ab24
commit
531e34995f
|
@ -712,7 +712,10 @@ static int soc21_common_early_init(void *handle)
|
|||
AMD_PG_SUPPORT_VCN |
|
||||
AMD_PG_SUPPORT_JPEG |
|
||||
AMD_PG_SUPPORT_GFX_PG;
|
||||
adev->external_rev_id = adev->rev_id + 0x1;
|
||||
if (adev->rev_id == 0)
|
||||
adev->external_rev_id = 0x1;
|
||||
else
|
||||
adev->external_rev_id = adev->rev_id + 0x10;
|
||||
break;
|
||||
default:
|
||||
/* FIXME: not supported yet */
|
||||
|
|
Loading…
Reference in New Issue