diff options
author | 2024-02-08 16:12:05 -0500 | |
---|---|---|
committer | 2024-02-12 16:14:12 -0500 | |
commit | ddc23e6e230e9ba50fda44fe680907c6ce4cd1df (patch) | |
tree | 05e62190f7d411193a70c84eda5ae54c1fead81e /drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | |
parent | drm/amdgpu: respect the abmlevel module parameter value if it is set (diff) | |
download | linux-ddc23e6e230e9ba50fda44fe680907c6ce4cd1df.tar.gz linux-ddc23e6e230e9ba50fda44fe680907c6ce4cd1df.tar.bz2 linux-ddc23e6e230e9ba50fda44fe680907c6ce4cd1df.zip |
drm/amdgpu/psp: update define to better align with its meaning
MEM_TRAINING_ENCROACHED_SIZE is for BIST training data. It's
not memory type specific.
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v13_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c index 722b6066ce07..0e4329640ecb 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v13_0.c @@ -561,7 +561,7 @@ static int psp_v13_0_memory_training(struct psp_context *psp, uint32_t ops) * before training, and restore it after training to avoid * VRAM corruption. */ - sz = GDDR6_MEM_TRAINING_ENCROACHED_SIZE; + sz = BIST_MEM_TRAINING_ENCROACHED_SIZE; if (adev->gmc.visible_vram_size < sz || !adev->mman.aper_base_kaddr) { dev_err(adev->dev, "visible_vram_size %llx or aper_base_kaddr %p is not initialized.\n", |