[Intel-xe] [PATCH v3 3/3] drm/xe: Use regular WARN_ON() instead of driver-specific XE_WARN_ON()

Jani Nikula jani.nikula at linux.intel.com
Tue Aug 1 10:41:01 UTC 2023


On Thu, 27 Jul 2023, Francois Dugast <francois.dugast at intel.com> wrote:
> Remove XE_WARN_ON() alias to WARN_ON() and use WARN_ON() directly in
> order to align with other drivers and avoid using a Xe-specific version.

drm_WARN_ON() is preferred over plain WARN_ON() in drm code.

It'll debug log the device, which will be helpful in a multi-device
setting, as well as the condition.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-xe mailing list