diff options
| author | Le Ma <[email protected]> | 2024-01-09 04:06:25 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-15 23:32:23 +0000 |
| commit | 6c5683bd9ecaa7f199c3122c1010ece5d59b1aef (patch) | |
| tree | 23cafb9e4cbff4fbf40601505c914d9972618535 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amd/display: Fix variable deferencing before NULL check in edp_setup_repl... (diff) | |
| download | kernel-6c5683bd9ecaa7f199c3122c1010ece5d59b1aef.tar.gz kernel-6c5683bd9ecaa7f199c3122c1010ece5d59b1aef.zip | |
Revert "drm/amdgpu: add param to specify fw bo location for front-door loading"
This reverts commit c572abffe9f50c8ba33060865449313b3f588c35.
Will use debug module param instead of independent module param.
Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Reviewed-by: Christian König <[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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 2addbdf88394..1bf975b8d083 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -466,7 +466,7 @@ static int psp_sw_init(void *handle) } ret = amdgpu_bo_create_kernel(adev, PSP_1_MEG, PSP_1_MEG, - (amdgpu_sriov_vf(adev) || fw_bo_location == 1) ? + amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, &psp->fw_pri_bo, &psp->fw_pri_mc_addr, |
