Commit 4b721ed8 authored by Candice Li's avatar Candice Li Committed by Alex Deucher
Browse files

drm/amdgpu: Only support RAS EEPROM on dGPU platform



RAS EEPROM device is only supported on dGPU platform for smu v13_0_6.

Signed-off-by: default avatarCandice Li <candice.li@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fd27af4d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -158,9 +158,10 @@ static bool __is_ras_eeprom_supported(struct amdgpu_device *adev)
	case IP_VERSION(11, 0, 7): /* Sienna cichlid */
	case IP_VERSION(13, 0, 0):
	case IP_VERSION(13, 0, 2): /* Aldebaran */
	case IP_VERSION(13, 0, 6):
	case IP_VERSION(13, 0, 10):
		return true;
	case IP_VERSION(13, 0, 6):
		return (adev->gmc.is_app_apu) ? false : true;
	default:
		return false;
	}