Repository navigation
Commit 58e366e
gpu: ipu-v3: Fix IRT usage
There can be multiple IC tasks using the IRT, so the IRT needs
a separate use counter. Create a private ipu_irt_enable() to
enable the IRT module when any IC task requires rotation, and
ipu_irt_disable() when a task no longer needs the IRT.
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>1 parent ea6bead commit 58e366e
1 file changed
Lines changed: 31 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
382 | | - | |
383 | | - | |
384 | 383 | | |
385 | 384 | | |
386 | 385 | | |
| |||
629 | 628 | | |
630 | 629 | | |
631 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
632 | 651 | | |
633 | 652 | | |
634 | 653 | | |
635 | 654 | | |
636 | | - | |
637 | 655 | | |
638 | 656 | | |
639 | 657 | | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | 658 | | |
644 | | - | |
| 659 | + | |
645 | 660 | | |
646 | 661 | | |
647 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
648 | 666 | | |
649 | 667 | | |
650 | 668 | | |
| |||
655 | 673 | | |
656 | 674 | | |
657 | 675 | | |
658 | | - | |
659 | 676 | | |
660 | 677 | | |
661 | 678 | | |
662 | 679 | | |
663 | 680 | | |
664 | 681 | | |
665 | | - | |
| 682 | + | |
666 | 683 | | |
667 | 684 | | |
668 | 685 | | |
669 | 686 | | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
670 | 692 | | |
671 | 693 | | |
672 | 694 | | |
| |||
0 commit comments