]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add assert for XE_WA() usage
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 22 Jul 2024 16:06:39 +0000 (09:06 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 24 Jul 2024 16:05:37 +0000 (09:05 -0700)
commit66ac3451fb467ce44fb1d4517f91db7390b9fa6b
treeb6ae10c737b9d4730e428930f26b1a7bb20e11d1
parenta2b4da9501c120d60413065169f140bc3d2e5991
drm/xe: Add assert for XE_WA() usage

It's not always safe to call XE_WA() in the driver initialization. Add a
xe_gt_assert() so this doesn't go unnoticed.

While at it, fix typo in kernel-doc about OOB workarounds.

Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722160815.4085605-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_wa.c
drivers/gpu/drm/xe/xe_wa.h