Home
last modified time | relevance | path

Searched refs:poison_stat (Results 1 – 5 of 5) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Djpeg_v2_5.c778 uint32_t poison_stat = 0, reg_value = 0; in jpeg_v2_6_query_poison_by_instance() local
783 poison_stat = REG_GET_FIELD(reg_value, UVD_RAS_JPEG0_STATUS, POISONED_PF); in jpeg_v2_6_query_poison_by_instance()
787 poison_stat = REG_GET_FIELD(reg_value, UVD_RAS_JPEG1_STATUS, POISONED_PF); in jpeg_v2_6_query_poison_by_instance()
793 if (poison_stat) in jpeg_v2_6_query_poison_by_instance()
797 return poison_stat; in jpeg_v2_6_query_poison_by_instance()
802 uint32_t inst = 0, sub = 0, poison_stat = 0; in jpeg_v2_6_query_ras_poison_status() local
806 poison_stat += in jpeg_v2_6_query_ras_poison_status()
809 return !!poison_stat; in jpeg_v2_6_query_ras_poison_status()
H A Djpeg_v4_0.c787 uint32_t poison_stat = 0, reg_value = 0; in jpeg_v4_0_query_poison_by_instance() local
792 poison_stat = REG_GET_FIELD(reg_value, UVD_RAS_JPEG0_STATUS, POISONED_PF); in jpeg_v4_0_query_poison_by_instance()
796 poison_stat = REG_GET_FIELD(reg_value, UVD_RAS_JPEG1_STATUS, POISONED_PF); in jpeg_v4_0_query_poison_by_instance()
802 if (poison_stat) in jpeg_v4_0_query_poison_by_instance()
806 return poison_stat; in jpeg_v4_0_query_poison_by_instance()
811 uint32_t inst = 0, sub = 0, poison_stat = 0; in jpeg_v4_0_query_ras_poison_status() local
815 poison_stat += in jpeg_v4_0_query_ras_poison_status()
818 return !!poison_stat; in jpeg_v4_0_query_ras_poison_status()
H A Dvcn_v4_0.c2115 uint32_t poison_stat = 0, reg_value = 0; in vcn_v4_0_query_poison_by_instance() local
2120 poison_stat = REG_GET_FIELD(reg_value, UVD_RAS_VCPU_VCODEC_STATUS, POISONED_PF); in vcn_v4_0_query_poison_by_instance()
2126 if (poison_stat) in vcn_v4_0_query_poison_by_instance()
2130 return poison_stat; in vcn_v4_0_query_poison_by_instance()
2136 uint32_t poison_stat = 0; in vcn_v4_0_query_ras_poison_status() local
2140 poison_stat += in vcn_v4_0_query_ras_poison_status()
2143 return !!poison_stat; in vcn_v4_0_query_ras_poison_status()
H A Dvcn_v2_5.c1944 uint32_t poison_stat = 0, reg_value = 0; in vcn_v2_6_query_poison_by_instance() local
1949 poison_stat = REG_GET_FIELD(reg_value, UVD_RAS_VCPU_VCODEC_STATUS, POISONED_PF); in vcn_v2_6_query_poison_by_instance()
1955 if (poison_stat) in vcn_v2_6_query_poison_by_instance()
1959 return poison_stat; in vcn_v2_6_query_poison_by_instance()
1965 uint32_t poison_stat = 0; in vcn_v2_6_query_poison_status() local
1969 poison_stat += in vcn_v2_6_query_poison_status()
1972 return !!poison_stat; in vcn_v2_6_query_poison_status()
H A Damdgpu_ras.c1688 bool poison_stat = false; in amdgpu_ras_interrupt_poison_consumption_handler() local
1701 poison_stat = block_obj->hw_ops->query_poison_status(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
1702 if (!poison_stat) { in amdgpu_ras_interrupt_poison_consumption_handler()
1714 poison_stat = block_obj->hw_ops->handle_poison_consumption(adev); in amdgpu_ras_interrupt_poison_consumption_handler()
1717 if (poison_stat) { in amdgpu_ras_interrupt_poison_consumption_handler()