mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -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:
@@ -154,7 +154,7 @@ out_unlock:
|
||||
|
||||
static int ccs_test_run_device(struct xe_device *xe)
|
||||
{
|
||||
struct kunit *test = xe_cur_kunit();
|
||||
struct kunit *test = kunit_get_current_test();
|
||||
struct xe_tile *tile;
|
||||
int id;
|
||||
|
||||
@@ -325,7 +325,7 @@ cleanup_bo:
|
||||
|
||||
static int evict_test_run_device(struct xe_device *xe)
|
||||
{
|
||||
struct kunit *test = xe_cur_kunit();
|
||||
struct kunit *test = kunit_get_current_test();
|
||||
struct xe_tile *tile;
|
||||
int id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user