Commit 0805595
committed
drm: apple: dptx: Rework/document get_max_lane_count()
phy_validate() on the DP only ATC phy returns 0 lanes if it happens
before the phy_set_mode(PHY_MODE_DP). Since this is the only known case
default to 4 lanes as the phy is used exclusively for DP.
Fixes: #367
Signed-off-by: Janne Grunau <j@jannau.net>1 parent c39202d commit 0805595
1 file changed
Lines changed: 16 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 260 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
269 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
270 | 276 | | |
271 | | - | |
272 | | - | |
| 277 | + | |
273 | 278 | | |
274 | 279 | | |
275 | 280 | | |
| |||
0 commit comments