]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/amdgpu/vcn: enable VCN DPG mode for dimgrey_cavefish
authorJames Zhu <James.Zhu@amd.com>
Thu, 23 Jul 2020 16:44:51 +0000 (12:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:00:54 +0000 (14:00 -0400)
Enable VCN DPG mode for dimgrey_cavefish.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 90ff9cdcb924895f29348986ffc235deb82a0f99..94ccacd786ce140ca7959e712cf318d1ca93e4a4 100644 (file)
@@ -905,7 +905,7 @@ static int nv_common_early_init(void *handle)
                break;
        case CHIP_DIMGREY_CAVEFISH:
                adev->cg_flags = 0;
-               adev->pg_flags = 0;
+               adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;
                adev->external_rev_id = adev->rev_id + 0x3c;
                break;
        default: