diff options
author | Flora Cui <flora.cui@amd.com> | 2020-10-27 14:58:19 +0800 |
---|---|---|
committer | Tianci.Yin <tianci.yin@amd.com> | 2020-12-02 15:21:23 +0800 |
commit | 8ec4909f0fb03beefe4af644be93f32aeaec4151 (patch) | |
tree | db4265b8838c1ed44ce28f84f8464c441463fc0f | |
parent | ce0984b857efe50504e4c348c7be2983446f82c8 (diff) |
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 <flora.cui@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 13bda94cc6dd..f4a1fbeb95b9 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -492,8 +492,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; } |