Francois Dugast c73acc1eeb drm/xe: Use Xe assert macros instead of XE_WARN_ON macro
The XE_WARN_ON macro maps to WARN_ON which is not justified
in many cases where only a simple debug check is needed.
Replace the use of the XE_WARN_ON macro with the new xe_assert
macros which relies on drm_*. This takes a struct drm_device
argument, which is one of the main changes in this commit. The
other main change is that the condition is reversed, as with
XE_WARN_ON a message is displayed if the condition is true,
whereas with xe_assert it is if the condition is false.

v2:
- Rebase
- Keep WARN splats in xe_wopcm.c (Matt Roper)

v3:
- Rebase

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2023-12-21 11:41:08 -05:00
..
2023-12-21 11:41:07 -05:00
2023-12-19 18:33:50 -05:00
2023-12-21 11:37:31 -05:00
2023-12-19 18:34:11 -05:00
2023-12-21 11:39:16 -05:00
2023-12-19 18:29:20 -05:00
2023-12-21 11:40:28 -05:00
2023-12-19 18:29:20 -05:00
2023-12-21 11:40:20 -05:00
2023-12-21 11:39:20 -05:00
2023-12-21 11:40:27 -05:00
2023-12-21 11:39:20 -05:00
2023-12-19 18:32:21 -05:00
2023-12-21 11:39:20 -05:00
2023-12-21 11:41:03 -05:00
2023-12-21 11:37:30 -05:00
2023-12-21 11:37:31 -05:00
2023-12-21 11:35:06 -05:00
2023-12-21 11:39:20 -05:00
2023-12-19 18:31:30 -05:00
2023-12-19 18:29:20 -05:00
2023-12-21 11:40:28 -05:00
2023-12-21 11:37:31 -05:00