/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
amdgpu_vega20_baco.c | 82 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:vega20_baco_set_state 93 if (!ras || !ras->supported) {
|
amdgpu_vega20_baco.c | 82 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:vega20_baco_set_state 93 if (!ras || !ras->supported) {
|
/src/sys/sys/ |
ras.h | 1 /* $NetBSD: ras.h,v 1.15 2021/01/11 21:51:20 skrll Exp $ */ 39 struct ras { struct 40 struct ras *ras_next; 105 * This is the preferred method of coding a RAS.
|
ras.h | 1 /* $NetBSD: ras.h,v 1.15 2021/01/11 21:51:20 skrll Exp $ */ 39 struct ras { struct 40 struct ras *ras_next; 105 * This is the preferred method of coding a RAS.
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_kms.c | 933 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_info_ioctl 936 if (!ras) 938 ras_mask = (uint64_t)ras->supported << 32 | ras->features; 990 DRM_ERROR("RAS Intr triggered, device disabled!!"); 1378 i ? "RAS" : "XGMI", fw_info.feature, fw_info.ver);
|
amdgpu_kms.c | 933 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_info_ioctl 936 if (!ras) 938 ras_mask = (uint64_t)ras->supported << 32 | ras->features; 990 DRM_ERROR("RAS Intr triggered, device disabled!!"); 1378 i ? "RAS" : "XGMI", fw_info.feature, fw_info.ver);
|
amdgpu_soc15.c | 496 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:soc15_asic_baco_reset 499 /* avoid NBIF got stuck when do RAS recovery in BACO reset */ 500 if (ras && ras->supported) 508 if (ras && ras->supported) 518 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:soc15_asic_reset_method 535 * 2. PMFW version <= 0x284300: only sGPU w/o RAS use baco 537 if ((ras && ras->supported) && adev->pm.fw_version <= 0x283400 [all...] |
amdgpu_soc15.c | 496 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:soc15_asic_baco_reset 499 /* avoid NBIF got stuck when do RAS recovery in BACO reset */ 500 if (ras && ras->supported) 508 if (ras && ras->supported) 518 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:soc15_asic_reset_method 535 * 2. PMFW version <= 0x284300: only sGPU w/o RAS use baco 537 if ((ras && ras->supported) && adev->pm.fw_version <= 0x283400 [all...] |
amdgpu_ras.c | 211 * DOC: AMDGPU RAS debugfs control interface 232 * - 0: disable RAS on the block. Take ::head as its data. 233 * - 1: enable RAS on the block. Take ::head as its data. 247 * echo op block [error [sub_block address value]] > .../ras/ras_ctrl 267 * echo inject umc ue 0x0 0x0 0x0 > /sys/kernel/debug/dri/0/ras/ras_ctrl 268 * echo inject umc ce 0 0 0 > /sys/kernel/debug/dri/0/ras/ras_ctrl 269 * echo disable umc > /sys/kernel/debug/dri/0/ras/ras_ctrl 273 * For disable/enable, please check ras features at 274 * /sys/class/drm/card[0/1/2...]/device/ras/features 277 * /sys/class/drm/card[0/1/2...]/device/ras/[gfx/sdma/...]_err_coun 1405 struct amdgpu_ras *ras = local in function:amdgpu_ras_do_recovery 1724 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_ras_request_reset_on_boot [all...] |
amdgpu_ras.c | 211 * DOC: AMDGPU RAS debugfs control interface 232 * - 0: disable RAS on the block. Take ::head as its data. 233 * - 1: enable RAS on the block. Take ::head as its data. 247 * echo op block [error [sub_block address value]] > .../ras/ras_ctrl 267 * echo inject umc ue 0x0 0x0 0x0 > /sys/kernel/debug/dri/0/ras/ras_ctrl 268 * echo inject umc ce 0 0 0 > /sys/kernel/debug/dri/0/ras/ras_ctrl 269 * echo disable umc > /sys/kernel/debug/dri/0/ras/ras_ctrl 273 * For disable/enable, please check ras features at 274 * /sys/class/drm/card[0/1/2...]/device/ras/features 277 * /sys/class/drm/card[0/1/2...]/device/ras/[gfx/sdma/...]_err_coun 1405 struct amdgpu_ras *ras = local in function:amdgpu_ras_do_recovery 1724 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_ras_request_reset_on_boot [all...] |
amdgpu_psp.h | 149 /*ras fw*/ 155 struct amdgpu_ras *ras; member in struct:psp_ras_context 290 struct psp_ras_context ras; member in struct:psp_context
|
amdgpu_device.c | 2065 * for some ASICs the RAS EEPROM code relies on SMU fully functioning 4312 /* disable ras on ALL IPs */ 4576 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_device_baco_enter 4581 if (ras && ras->supported) 4590 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_device_baco_exit 4600 if (ras && ras->supported)
|
amdgpu_psp.h | 149 /*ras fw*/ 155 struct amdgpu_ras *ras; member in struct:psp_ras_context 290 struct psp_ras_context ras; member in struct:psp_context
|
amdgpu_device.c | 2065 * for some ASICs the RAS EEPROM code relies on SMU fully functioning 4312 /* disable ras on ALL IPs */ 4576 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_device_baco_enter 4581 if (ras && ras->supported) 4590 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_device_baco_exit 4600 if (ras && ras->supported)
|
amdgpu_ras.h | 313 /* ras infrastructure */ 314 /* for ras itself. */ 316 /* for IP to check its ras ability. */ 391 /* ras block link */ 461 * 1: ras feature enable (enabled by default) 463 * 2: ras framework init (in ip_init) 473 #define amdgpu_ras_get_context(adev) ((adev)->psp.ras.ras) 474 #define amdgpu_ras_set_context(adev, ras_con) ((adev)->psp.ras.ras = (ras_con) 480 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_ras_is_supported 505 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_ras_reset_gpu [all...] |
amdgpu_ras.h | 313 /* ras infrastructure */ 314 /* for ras itself. */ 316 /* for IP to check its ras ability. */ 391 /* ras block link */ 461 * 1: ras feature enable (enabled by default) 463 * 2: ras framework init (in ip_init) 473 #define amdgpu_ras_get_context(adev) ((adev)->psp.ras.ras) 474 #define amdgpu_ras_set_context(adev, ras_con) ((adev)->psp.ras.ras = (ras_con) 480 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_ras_is_supported 505 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:amdgpu_ras_reset_gpu [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/ |
amdgpu_smu_v11_0.c | 1687 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:smu_v11_0_baco_set_state 1705 if (!ras || !ras->supported) {
|
amdgpu_smu_v11_0.c | 1687 struct amdgpu_ras *ras = amdgpu_ras_get_context(adev); local in function:smu_v11_0_baco_set_state 1705 if (!ras || !ras->supported) {
|