diff options
| author | Huang Rui <[email protected]> | 2019-07-21 14:27:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-12 17:47:51 +0000 |
| commit | c9d0ca8528b334e87f9edf08623a2623bfb99a8c (patch) | |
| tree | 15cc256f7da02c2547dbed0392c314e85c08c373 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amdgpu: use direct loading on renoir vcn for the moment (diff) | |
| download | kernel-c9d0ca8528b334e87f9edf08623a2623bfb99a8c.tar.gz kernel-c9d0ca8528b334e87f9edf08623a2623bfb99a8c.zip | |
drm/amdgpu: skip mec2 jump table loading for renoir
Renoir need not load mec2 jump table with psp.
Acked-by: Huang Rui <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Reviewed-by: Aaron Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index ab38877c237c..8466f706a4e6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -1023,6 +1023,10 @@ out: ucode->ucode_id == AMDGPU_UCODE_ID_CP_MEC2_JT)) /* skip mec JT when autoload is enabled */ continue; + /* Renoir only needs to load mec jump table one time */ + if (adev->asic_type == CHIP_RENOIR && + ucode->ucode_id == AMDGPU_UCODE_ID_CP_MEC2_JT) + continue; ret = psp_execute_np_fw_load(psp, ucode); if (ret) |
