mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 17:42:27 -04:00
drm/xe/kunit: Kill xe_cur_kunit()
We shouldn't use custom helper if there is a official one. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240705191057.1110-2-michal.wajdeczko@intel.com
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
static void check_graphics_ip(const struct xe_graphics_desc *graphics)
|
||||
{
|
||||
struct kunit *test = xe_cur_kunit();
|
||||
struct kunit *test = kunit_get_current_test();
|
||||
u64 mask = graphics->hw_engine_mask;
|
||||
|
||||
/* RCS, CCS, and BCS engines are allowed on the graphics IP */
|
||||
@@ -30,7 +30,7 @@ static void check_graphics_ip(const struct xe_graphics_desc *graphics)
|
||||
|
||||
static void check_media_ip(const struct xe_media_desc *media)
|
||||
{
|
||||
struct kunit *test = xe_cur_kunit();
|
||||
struct kunit *test = kunit_get_current_test();
|
||||
u64 mask = media->hw_engine_mask;
|
||||
|
||||
/* VCS, VECS and GSCCS engines are allowed on the media IP */
|
||||
|
||||
Reference in New Issue
Block a user