Commit 1f8a87b
Lucas De Marchi
drm/xe: Inline gt_reset in the worker
gt_reset() doesn't make sense by itself: it can only be called as part
of the worker. Inline it there to avoid it being called from elsewhere
and clarify the gt_reset() vs do_gt_reset() paths. Note that the error
return from gt_reset() was just being ignored.
Also add a comment to the xe_pm_runtime_put() to make sure the
get()/put() pair is clear.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20251031222244.37735-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>1 parent 6b514ed commit 1f8a87b
1 file changed
Lines changed: 11 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
817 | 817 | | |
| 818 | + | |
818 | 819 | | |
819 | 820 | | |
820 | 821 | | |
821 | | - | |
822 | | - | |
| 822 | + | |
823 | 823 | | |
824 | | - | |
825 | 824 | | |
826 | 825 | | |
827 | | - | |
828 | | - | |
| 826 | + | |
829 | 827 | | |
830 | | - | |
831 | 828 | | |
832 | 829 | | |
833 | 830 | | |
| |||
864 | 861 | | |
865 | 862 | | |
866 | 863 | | |
| 864 | + | |
| 865 | + | |
867 | 866 | | |
868 | 867 | | |
869 | 868 | | |
870 | 869 | | |
871 | | - | |
| 870 | + | |
872 | 871 | | |
873 | 872 | | |
874 | 873 | | |
875 | 874 | | |
| 875 | + | |
876 | 876 | | |
877 | 877 | | |
878 | | - | |
879 | 878 | | |
| 879 | + | |
880 | 880 | | |
881 | 881 | | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | 882 | | |
892 | 883 | | |
893 | 884 | | |
| |||
899 | 890 | | |
900 | 891 | | |
901 | 892 | | |
| 893 | + | |
| 894 | + | |
902 | 895 | | |
903 | 896 | | |
904 | 897 | | |
| |||
0 commit comments