@@ -278,9 +278,9 @@ static void mtk_crtc_ddp_clk_disable(struct mtk_crtc *mtk_crtc)
278
278
}
279
279
280
280
static
281
- struct mtk_ddp_comp * mtk_drm_ddp_comp_for_plane (struct drm_crtc * crtc ,
282
- struct drm_plane * plane ,
283
- unsigned int * local_layer )
281
+ struct mtk_ddp_comp * mtk_ddp_comp_for_plane (struct drm_crtc * crtc ,
282
+ struct drm_plane * plane ,
283
+ unsigned int * local_layer )
284
284
{
285
285
struct mtk_crtc * mtk_crtc = to_mtk_crtc (crtc );
286
286
struct mtk_ddp_comp * comp ;
@@ -430,7 +430,7 @@ static int mtk_crtc_ddp_hw_init(struct mtk_crtc *mtk_crtc)
430
430
431
431
/* should not enable layer before crtc enabled */
432
432
plane_state -> pending .enable = false;
433
- comp = mtk_drm_ddp_comp_for_plane (crtc , plane , & local_layer );
433
+ comp = mtk_ddp_comp_for_plane (crtc , plane , & local_layer );
434
434
if (comp )
435
435
mtk_ddp_comp_layer_config (comp , local_layer ,
436
436
plane_state , NULL );
@@ -521,8 +521,7 @@ static void mtk_crtc_ddp_config(struct drm_crtc *crtc,
521
521
if (!plane_state -> pending .config )
522
522
continue ;
523
523
524
- comp = mtk_drm_ddp_comp_for_plane (crtc , plane ,
525
- & local_layer );
524
+ comp = mtk_ddp_comp_for_plane (crtc , plane , & local_layer );
526
525
527
526
if (comp )
528
527
mtk_ddp_comp_layer_config (comp , local_layer ,
@@ -546,8 +545,7 @@ static void mtk_crtc_ddp_config(struct drm_crtc *crtc,
546
545
if (!plane_state -> pending .async_config )
547
546
continue ;
548
547
549
- comp = mtk_drm_ddp_comp_for_plane (crtc , plane ,
550
- & local_layer );
548
+ comp = mtk_ddp_comp_for_plane (crtc , plane , & local_layer );
551
549
552
550
if (comp )
553
551
mtk_ddp_comp_layer_config (comp , local_layer ,
@@ -711,7 +709,7 @@ int mtk_crtc_plane_check(struct drm_crtc *crtc, struct drm_plane *plane,
711
709
unsigned int local_layer ;
712
710
struct mtk_ddp_comp * comp ;
713
711
714
- comp = mtk_drm_ddp_comp_for_plane (crtc , plane , & local_layer );
712
+ comp = mtk_ddp_comp_for_plane (crtc , plane , & local_layer );
715
713
if (comp )
716
714
return mtk_ddp_comp_layer_check (comp , local_layer , state );
717
715
return 0 ;
0 commit comments