[PATCH 1/6] drm/amdgpu/gfx: add bad opcode interrupt

Felix Kuehling felix.kuehling at amd.com
Wed Jul 17 22:04:01 UTC 2024


On 2024-07-17 16:40, Alex Deucher wrote:
> Add the irq source for bad opcodes.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Looks like all the error IRQ handlers return 0, which means the 
interrupts will still get forwarded to KFD (which is good). The series is

Acked-by: Felix Kuehling <felix.kuehling at amd.com>


> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
> index ddda94e49db4..86d3fa7eef90 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
> @@ -391,6 +391,7 @@ struct amdgpu_gfx {
>   	struct amdgpu_irq_src		eop_irq;
>   	struct amdgpu_irq_src		priv_reg_irq;
>   	struct amdgpu_irq_src		priv_inst_irq;
> +	struct amdgpu_irq_src		bad_op_irq;
>   	struct amdgpu_irq_src		cp_ecc_error_irq;
>   	struct amdgpu_irq_src		sq_irq;
>   	struct amdgpu_irq_src		rlc_gc_fed_irq;


More information about the amd-gfx mailing list