[PATCH v3 1/6] drm/xe: Export xe_step_name for kunit tests

Lucas De Marchi lucas.demarchi at intel.com
Mon Jun 30 23:54:25 UTC 2025


On Mon, Jun 30, 2025 at 10:34:40AM -0700, Matt Roper wrote:
>xe_step_name() is used by xe_assert(), so adding assertions to functions
>like xe_device_get_gt() will result in
>
>  ERROR: modpost: "xe_step_name" [drivers/gpu/drm/xe/tests/xe_test.ko] undefined!
>
>while building the kunit tests.  Export xe_step_name to avoid these
>build failures when adding assertions.
>
>Reviewed-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi


More information about the Intel-xe mailing list