@@ -395,7 +395,7 @@ static const struct vop2_video_port_data rk3588_vop_video_ports[] = {
395
395
* AXI1 is a read only bus.
396
396
*
397
397
* Every window on a AXI bus must assigned two unique
398
- * read id(yrgb_id/uv_id , valid id are 0x1~0xe).
398
+ * read id(yrgb_r_id/uv_r_id , valid id are 0x1~0xe).
399
399
*
400
400
* AXI0:
401
401
* Cluster0/1, Esmart0/1, WriteBack
@@ -415,6 +415,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
415
415
.layer_sel_id = 0 ,
416
416
.supported_rotations = DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270 |
417
417
DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y ,
418
+ .axi_bus_id = 0 ,
419
+ .axi_yrgb_r_id = 2 ,
420
+ .axi_uv_r_id = 3 ,
418
421
.max_upscale_factor = 4 ,
419
422
.max_downscale_factor = 4 ,
420
423
.dly = { 4 , 26 , 29 },
@@ -431,6 +434,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
431
434
.supported_rotations = DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270 |
432
435
DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y ,
433
436
.type = DRM_PLANE_TYPE_PRIMARY ,
437
+ .axi_bus_id = 0 ,
438
+ .axi_yrgb_r_id = 6 ,
439
+ .axi_uv_r_id = 7 ,
434
440
.max_upscale_factor = 4 ,
435
441
.max_downscale_factor = 4 ,
436
442
.dly = { 4 , 26 , 29 },
@@ -446,6 +452,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
446
452
.supported_rotations = DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270 |
447
453
DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y ,
448
454
.type = DRM_PLANE_TYPE_PRIMARY ,
455
+ .axi_bus_id = 1 ,
456
+ .axi_yrgb_r_id = 2 ,
457
+ .axi_uv_r_id = 3 ,
449
458
.max_upscale_factor = 4 ,
450
459
.max_downscale_factor = 4 ,
451
460
.dly = { 4 , 26 , 29 },
@@ -461,6 +470,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
461
470
.supported_rotations = DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270 |
462
471
DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y ,
463
472
.type = DRM_PLANE_TYPE_PRIMARY ,
473
+ .axi_bus_id = 1 ,
474
+ .axi_yrgb_r_id = 6 ,
475
+ .axi_uv_r_id = 7 ,
464
476
.max_upscale_factor = 4 ,
465
477
.max_downscale_factor = 4 ,
466
478
.dly = { 4 , 26 , 29 },
@@ -475,6 +487,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
475
487
.layer_sel_id = 2 ,
476
488
.supported_rotations = DRM_MODE_REFLECT_Y ,
477
489
.type = DRM_PLANE_TYPE_OVERLAY ,
490
+ .axi_bus_id = 0 ,
491
+ .axi_yrgb_r_id = 0x0a ,
492
+ .axi_uv_r_id = 0x0b ,
478
493
.max_upscale_factor = 8 ,
479
494
.max_downscale_factor = 8 ,
480
495
.dly = { 23 , 45 , 48 },
@@ -488,6 +503,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
488
503
.layer_sel_id = 3 ,
489
504
.supported_rotations = DRM_MODE_REFLECT_Y ,
490
505
.type = DRM_PLANE_TYPE_OVERLAY ,
506
+ .axi_bus_id = 0 ,
507
+ .axi_yrgb_r_id = 0x0c ,
508
+ .axi_uv_r_id = 0x01 ,
491
509
.max_upscale_factor = 8 ,
492
510
.max_downscale_factor = 8 ,
493
511
.dly = { 23 , 45 , 48 },
@@ -501,6 +519,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
501
519
.layer_sel_id = 6 ,
502
520
.supported_rotations = DRM_MODE_REFLECT_Y ,
503
521
.type = DRM_PLANE_TYPE_OVERLAY ,
522
+ .axi_bus_id = 1 ,
523
+ .axi_yrgb_r_id = 0x0a ,
524
+ .axi_uv_r_id = 0x0b ,
504
525
.max_upscale_factor = 8 ,
505
526
.max_downscale_factor = 8 ,
506
527
.dly = { 23 , 45 , 48 },
@@ -514,6 +535,9 @@ static const struct vop2_win_data rk3588_vop_win_data[] = {
514
535
.layer_sel_id = 7 ,
515
536
.supported_rotations = DRM_MODE_REFLECT_Y ,
516
537
.type = DRM_PLANE_TYPE_OVERLAY ,
538
+ .axi_bus_id = 1 ,
539
+ .axi_yrgb_r_id = 0x0c ,
540
+ .axi_uv_r_id = 0x0d ,
517
541
.max_upscale_factor = 8 ,
518
542
.max_downscale_factor = 8 ,
519
543
.dly = { 23 , 45 , 48 },
0 commit comments