Repository navigation
Commit 7ef64ed
committed
drm/gm12u320: Use helpers for shutdown/suspend/resume
Also there's a race in the disconnect implemenation. First shut
down, then unplug, leaves a window where userspace could sneak
in and restart the entire machinery.
With this we can also delete the very un-atomic global pipe_enabled
tracking.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-45-daniel.vetter@ffwll.ch1 parent 993f5b1 commit 7ef64ed
1 file changed
Lines changed: 3 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
589 | 588 | | |
590 | 589 | | |
591 | 590 | | |
592 | | - | |
593 | 591 | | |
594 | 592 | | |
595 | 593 | | |
596 | 594 | | |
597 | 595 | | |
598 | 596 | | |
599 | 597 | | |
600 | | - | |
601 | 598 | | |
602 | 599 | | |
603 | 600 | | |
| |||
733 | 730 | | |
734 | 731 | | |
735 | 732 | | |
736 | | - | |
737 | 733 | | |
738 | | - | |
739 | 734 | | |
| 735 | + | |
740 | 736 | | |
741 | 737 | | |
742 | 738 | | |
743 | 739 | | |
744 | 740 | | |
745 | 741 | | |
746 | | - | |
747 | 742 | | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
| 743 | + | |
752 | 744 | | |
753 | 745 | | |
754 | 746 | | |
| |||
757 | 749 | | |
758 | 750 | | |
759 | 751 | | |
760 | | - | |
761 | | - | |
762 | 752 | | |
763 | | - | |
| 753 | + | |
764 | 754 | | |
765 | 755 | | |
766 | 756 | | |
| |||
0 commit comments