Commit 2054d38
Lucas De Marchi
drm/xe: Use q->xef for accessing xe file
No need to traverse through the vm object as each exec queue maintains a
reference to xe_file. Also improve/simplify the comment on why xef is
checked.
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241218053122.2730195-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>1 parent 4ca1fd4 commit 2054d38
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
774 | 773 | | |
775 | 774 | | |
776 | 775 | | |
777 | 776 | | |
778 | 777 | | |
779 | | - | |
780 | | - | |
781 | | - | |
| 778 | + | |
| 779 | + | |
782 | 780 | | |
783 | | - | |
| 781 | + | |
784 | 782 | | |
785 | 783 | | |
786 | 784 | | |
787 | 785 | | |
788 | 786 | | |
789 | 787 | | |
790 | | - | |
791 | | - | |
792 | 788 | | |
793 | 789 | | |
794 | 790 | | |
| |||
799 | 795 | | |
800 | 796 | | |
801 | 797 | | |
802 | | - | |
| 798 | + | |
803 | 799 | | |
804 | 800 | | |
805 | 801 | | |
| |||
0 commit comments