@@ -441,7 +441,7 @@ static void drm_test_check_broadcast_rgb_auto_cea_mode_vic_1(struct kunit *test)
441
441
ctx = drm_kunit_helper_acquire_ctx_alloc (test );
442
442
KUNIT_ASSERT_NOT_ERR_OR_NULL (test , ctx );
443
443
444
- mode = drm_display_mode_from_cea_vic ( drm , 1 );
444
+ mode = drm_kunit_display_mode_from_cea_vic ( test , drm , 1 );
445
445
KUNIT_ASSERT_NOT_NULL (test , mode );
446
446
447
447
drm = & priv -> drm ;
@@ -555,7 +555,7 @@ static void drm_test_check_broadcast_rgb_full_cea_mode_vic_1(struct kunit *test)
555
555
ctx = drm_kunit_helper_acquire_ctx_alloc (test );
556
556
KUNIT_ASSERT_NOT_ERR_OR_NULL (test , ctx );
557
557
558
- mode = drm_display_mode_from_cea_vic ( drm , 1 );
558
+ mode = drm_kunit_display_mode_from_cea_vic ( test , drm , 1 );
559
559
KUNIT_ASSERT_NOT_NULL (test , mode );
560
560
561
561
drm = & priv -> drm ;
@@ -671,7 +671,7 @@ static void drm_test_check_broadcast_rgb_limited_cea_mode_vic_1(struct kunit *te
671
671
ctx = drm_kunit_helper_acquire_ctx_alloc (test );
672
672
KUNIT_ASSERT_NOT_ERR_OR_NULL (test , ctx );
673
673
674
- mode = drm_display_mode_from_cea_vic ( drm , 1 );
674
+ mode = drm_kunit_display_mode_from_cea_vic ( test , drm , 1 );
675
675
KUNIT_ASSERT_NOT_NULL (test , mode );
676
676
677
677
drm = & priv -> drm ;
@@ -1263,7 +1263,7 @@ static void drm_test_check_output_bpc_format_vic_1(struct kunit *test)
1263
1263
ctx = drm_kunit_helper_acquire_ctx_alloc (test );
1264
1264
KUNIT_ASSERT_NOT_ERR_OR_NULL (test , ctx );
1265
1265
1266
- mode = drm_display_mode_from_cea_vic ( drm , 1 );
1266
+ mode = drm_kunit_display_mode_from_cea_vic ( test , drm , 1 );
1267
1267
KUNIT_ASSERT_NOT_NULL (test , mode );
1268
1268
1269
1269
/*
0 commit comments