diff options
| author | Alex Deucher <[email protected]> | 2024-02-08 21:12:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-02-12 21:14:12 +0000 |
| commit | ddc23e6e230e9ba50fda44fe680907c6ce4cd1df (patch) | |
| tree | 05e62190f7d411193a70c84eda5ae54c1fead81e /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
| parent | drm/amdgpu: respect the abmlevel module parameter value if it is set (diff) | |
| download | kernel-ddc23e6e230e9ba50fda44fe680907c6ce4cd1df.tar.gz kernel-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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index 9951bdd022de..47ffaa796264 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -203,7 +203,7 @@ struct psp_ras_context { #define GDDR6_MEM_TRAINING_DATA_SIZE_IN_BYTES 0x1000 #define GDDR6_MEM_TRAINING_OFFSET 0x8000 /*Define the VRAM size that will be encroached by BIST training.*/ -#define GDDR6_MEM_TRAINING_ENCROACHED_SIZE 0x2000000 +#define BIST_MEM_TRAINING_ENCROACHED_SIZE 0x2000000 enum psp_memory_training_init_flag { PSP_MEM_TRAIN_NOT_SUPPORT = 0x0, |
