Re: [PATCH 02/10] drm/vkms: Use spin_lock_irq in process context

2019-06-12 Thread Daniel Vetter
On Wed, Jun 12, 2019 at 10:34:55AM -0300, Rodrigo Siqueira wrote: > On Thu, Jun 6, 2019 at 7:28 PM Daniel Vetter wrote: > > > > The worker is always in process context, no need for the _irqsafe > > version. Same for the set_source callback, that's only called from the > > debugfs handler in a sysc

Re: [PATCH 02/10] drm/vkms: Use spin_lock_irq in process context

2019-06-12 Thread Rodrigo Siqueira
On Thu, Jun 6, 2019 at 7:28 PM Daniel Vetter wrote: > > The worker is always in process context, no need for the _irqsafe > version. Same for the set_source callback, that's only called from the > debugfs handler in a syscall. > > Cc: Shayenne Moura > Cc: Rodrigo Siqueira > Signed-off-by: Daniel

[PATCH 02/10] drm/vkms: Use spin_lock_irq in process context

2019-06-06 Thread Daniel Vetter
The worker is always in process context, no need for the _irqsafe version. Same for the set_source callback, that's only called from the debugfs handler in a syscall. Cc: Shayenne Moura Cc: Rodrigo Siqueira Signed-off-by: Daniel Vetter Cc: Haneen Mohammed Cc: Daniel Vetter --- drivers/gpu/dr