Commit c4b7d6c
drm: xlnx: zynqmp_disp: Skip the modeset for same fb
Since the async update creates a separate atomic mode set, there can be
back to back atomic modeset with same fb. If the mode set is applied
twice, it ends up submitting 2 dma transactions, and it results in
jitter. This fixes it by adding the check in plane atomic update,
and using plane mode set in async update.
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Tested-by: Preetesh Parekh <preetesh.parekh@xilinx.com>1 parent 66158e1 commit c4b7d6c
1 file changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2676 | 2676 | | |
2677 | 2677 | | |
2678 | 2678 | | |
| 2679 | + | |
| 2680 | + | |
| 2681 | + | |
2679 | 2682 | | |
2680 | 2683 | | |
2681 | 2684 | | |
| |||
2712 | 2715 | | |
2713 | 2716 | | |
2714 | 2717 | | |
2715 | | - | |
2716 | | - | |
| 2718 | + | |
2717 | 2719 | | |
2718 | 2720 | | |
2719 | 2721 | | |
2720 | 2722 | | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
2721 | 2727 | | |
2722 | 2728 | | |
2723 | 2729 | | |
| |||
2731 | 2737 | | |
2732 | 2738 | | |
2733 | 2739 | | |
2734 | | - | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
2735 | 2753 | | |
2736 | 2754 | | |
2737 | 2755 | | |
| |||
0 commit comments