diff options
author | Leo Liu <[email protected]> | 2019-05-27 10:49:19 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-06-21 18:59:33 -0500 |
commit | 450af30ce23a6fca66686855255a69d9179f42c4 (patch) | |
tree | a233f1282abcb231e9b00405954d26d2e53d1f45 | |
parent | dc8ae677c2a03891149a743fe50931bae4c506c5 (diff) |
drm/amdgpu/VCN: enable indirect DPG SRAM mode
This is default mode for VCN2.x now
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: James Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c index 7621077378dd..c604f1504d3e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c @@ -75,6 +75,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev) break; case CHIP_NAVI10: fw_name = FIRMWARE_NAVI10; + if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) && + (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)) + adev->vcn.indirect_sram = true; break; default: return -EINVAL; |