Commit 32a120f
committed
drm/i915/mtl: Skip PLL state verification in TBT mode
In TBT-alt mode the driver doesn't program the PHY's PLL, which is
handled instead by Thunderbolt driver/FW components, hence the PLL's HW
vs. SW state verification should be skipped. During HW readout set a flag
in the PLL state if the port was at the moment in TBT-alt mode and skip
the verification of PLL parameters in this case.
Fixes: 45fe957 ("drm/i915/display: Add compare config for MTL+ platforms")
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11258
Cc: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240626170813.806470-1-imre.deak@intel.com1 parent a9422ec commit 32a120f
3 files changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3279 | 3279 | | |
3280 | 3280 | | |
3281 | 3281 | | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
3282 | 3286 | | |
3283 | 3287 | | |
3284 | 3288 | | |
| |||
3325 | 3329 | | |
3326 | 3330 | | |
3327 | 3331 | | |
| 3332 | + | |
| 3333 | + | |
3328 | 3334 | | |
3329 | 3335 | | |
3330 | 3336 | | |
| |||
3420 | 3426 | | |
3421 | 3427 | | |
3422 | 3428 | | |
| 3429 | + | |
3423 | 3430 | | |
3424 | | - | |
| 3431 | + | |
3425 | 3432 | | |
3426 | 3433 | | |
3427 | | - | |
3428 | | - | |
3429 | 3434 | | |
3430 | 3435 | | |
3431 | 3436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4027 | 4027 | | |
4028 | 4028 | | |
4029 | 4029 | | |
4030 | | - | |
| 4030 | + | |
4031 | 4031 | | |
4032 | | - | |
| 4032 | + | |
4033 | 4033 | | |
4034 | | - | |
4035 | | - | |
| 4034 | + | |
4036 | 4035 | | |
4037 | | - | |
4038 | 4036 | | |
4039 | 4037 | | |
4040 | 4038 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
| |||
0 commit comments