Re: [PATCH 1/2] drm/lima: add mask irq callback to gp and pp

2024-04-04 Thread Qiang Yu
On Tue, Apr 2, 2024 at 5:20 AM Erico Nunes wrote: > > This is needed because we want to reset those devices in device-agnostic > code such as lima_sched. > In particular, masking irqs will be useful before a hard reset to > prevent race conditions. > > Signed-off-by: Erico Nunes > --- > drivers/

[PATCH 1/2] drm/lima: add mask irq callback to gp and pp

2024-04-01 Thread Erico Nunes
This is needed because we want to reset those devices in device-agnostic code such as lima_sched. In particular, masking irqs will be useful before a hard reset to prevent race conditions. Signed-off-by: Erico Nunes --- drivers/gpu/drm/lima/lima_bcast.c | 12 drivers/gpu/drm/lima/li