mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu: Added ASIC specific check in gmc v9.0 ECC interrupt programming sequence
Devices newer then VEGA10/12 shall have these programming sequences performed by PSP BL Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: John Clements <john.clements@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
56ca8628ac
commit
1e2c6d5582
|
@ -207,6 +207,11 @@ static int gmc_v9_0_ecc_interrupt_state(struct amdgpu_device *adev,
|
|||
{
|
||||
u32 bits, i, tmp, reg;
|
||||
|
||||
/* Devices newer then VEGA10/12 shall have these programming
|
||||
sequences performed by PSP BL */
|
||||
if (adev->asic_type >= CHIP_VEGA20)
|
||||
return 0;
|
||||
|
||||
bits = 0x7f;
|
||||
|
||||
switch (state) {
|
||||
|
|
Loading…
Reference in New Issue