From: Flora Cui Date: Tue, 27 Oct 2020 06:58:19 +0000 (+0800) Subject: drm/amdgpu: disable DCN and VCN for Navi14 0x7340/C9 SKU X-Git-Tag: baikal/mips/sdk5.9~12066^2~12^2~118 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=a8a80a905b0cf3e62fcd6558e48987747bf5ff92;p=kernel.git drm/amdgpu: disable DCN and VCN for Navi14 0x7340/C9 SKU Navi14 0x7340/C9 SKU has no display and video support, remove them. Signed-off-by: Flora Cui Reviewed-by: Guchun Chen Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index b7fc9ebdf1c15..23446aceea1d5 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -495,8 +495,9 @@ void nv_set_virt_ops(struct amdgpu_device *adev) static bool nv_is_blockchain_sku(struct pci_dev *pdev) { - if (pdev->device == 0x731E && - (pdev->revision == 0xC6 || pdev->revision == 0xC7)) + if ((pdev->device == 0x731E && + (pdev->revision == 0xC6 || pdev->revision == 0xC7)) || + (pdev->device == 0x7340 && pdev->revision == 0xC9)) return true; return false; }