[PATCH 0/4] drm: Replace in_interrupt() usage.

Christian König christian.koenig at amd.com
Tue Feb 9 08:05:40 UTC 2021


The amdgou changes look mostly good to me.

But please send them out as separate patch set than the gma500 changes 
and please simplify boolean checks and don't use "x == true" or "x == 
false".

Regards,
Christian.

Am 09.02.21 um 00:31 schrieb Sebastian Andrzej Siewior:
> Folks,
>
> in the discussion about preempt count consistency across kernel
> configurations:
>
>   https://lore.kernel.org/r/20200914204209.256266093@linutronix.de/
>
> it was concluded that the usage of in_interrupt() and related context
> checks should be removed from non-core code.
>
> In the long run, usage of 'preemptible, in_*irq etc.' should be banned from
> driver code completely.
>
> This series addresses the gma500 driver and parts of the amdgpu driver.
> There are still call sites left in in the amdgpu driver.
>
> Sebastian
>
>


More information about the dri-devel mailing list