[PATCH v2 0/3] drm/amdgpu: Remove in_interrupt() usage.

Sebastian Andrzej Siewior bigeasy at linutronix.de
Tue Feb 9 12:44:36 UTC 2021


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 parts of the amdgpu driver.  There are still call sites
left in in the amdgpu driver.

v1…v2:
   - Limit to admgpu only
   - use "bool" instead of "bool == true"

Sebastian




More information about the dri-devel mailing list