Commit e5ecb2a
committed
display: add DRM node helper and Weston stale socket cleanup
Update Runner/utils/lib_display.sh to add two reusable display helpers:
- get_drm_primary_node()
Returns the first available DRM primary node under /dev/dri/card* so
display and IGT tests can detect primary DRM availability consistently.
- weston_cleanup_stale_sockets()
Removes stale Wayland socket files only when Weston is not running,
using best-effort cleanup for common Weston runtime locations.
These helpers improve reuse across display-related tests and remove
runtime noise from Weston stop/start paths without changing normal
execution flow.
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>1 parent 613074a commit e5ecb2a
1 file changed
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
113 | 149 | | |
114 | 150 | | |
115 | 151 | | |
| |||
0 commit comments