Commit 00f6a86
committed
drm/xe: Move drm_dev_unplug() out of display function
This is not really display-related and needed for any sequence on driver
removal that has to interact with drm_dev_enter()/drm_dev_exit().
Just remove xe_device_remove_display() and inline it in the single
caller to make clear this is not done only for display.
Cc: Rodrigo Vivi <[email protected]>
Cc: Jani Nikula <[email protected]>
Reviewed-by: Tejas Upadhyay <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>1 parent d3f557d commit 00f6a86
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
| 966 | + | |
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| 971 | + | |
971 | 972 | | |
972 | | - | |
973 | 973 | | |
974 | | - | |
975 | | - | |
976 | 974 | | |
977 | 975 | | |
978 | | - | |
979 | | - | |
980 | 976 | | |
981 | 977 | | |
982 | 978 | | |
| |||
0 commit comments