diff options
| author | Le Ma <[email protected]> | 2024-01-09 09:44:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-15 23:32:49 +0000 |
| commit | d20e1aec8862e48a352ca86969cee6f530dd41d5 (patch) | |
| tree | 455aa24bf5e0d55251d4cba4c42d474b2e224bce /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | Revert "drm/amdgpu: add param to specify fw bo location for front-door loading" (diff) | |
| download | kernel-d20e1aec8862e48a352ca86969cee6f530dd41d5.tar.gz kernel-d20e1aec8862e48a352ca86969cee6f530dd41d5.zip | |
drm/amdgpu: add debug flag to place fw bo on vram for frontdoor loading
Use debug_mask=0x8 param to help isolating data path issues
on new systems in early phase.
v2: rename the flag for explicitness (lijo)
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 1bf975b8d083..0328616473f8 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) ? + (amdgpu_sriov_vf(adev) || adev->debug_use_vram_fw_buf) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, &psp->fw_pri_bo, &psp->fw_pri_mc_addr, |
