Commit a7b1dd1
drm/amd/display: Support HDMI VRRmax=0
[Why]
VRRmax=0 is a valid value and means that the upper bound is guared by
the selected video mode.
[How]
In this context, saved vrr max is the max possible refresh rate ever.
Try getting upper VRR bound from AMD vsdbif it exists or rely on the
limitations of BRR in VTEM info frames.
I found through testing, that TVs seem to reject VTEM when BRR is set
to over 1023 Hz. Use this as the last resort VRRmax. 1023 is the max
value for a 10-bit field as well.
Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com>1 parent 05666a1 commit a7b1dd1
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13268 | 13268 | | |
13269 | 13269 | | |
13270 | 13270 | | |
13271 | | - | |
| 13271 | + | |
| 13272 | + | |
13272 | 13273 | | |
13273 | 13274 | | |
| 13275 | + | |
13274 | 13276 | | |
13275 | | - | |
| 13277 | + | |
| 13278 | + | |
13276 | 13279 | | |
| 13280 | + | |
| 13281 | + | |
| 13282 | + | |
| 13283 | + | |
| 13284 | + | |
| 13285 | + | |
| 13286 | + | |
| 13287 | + | |
| 13288 | + | |
| 13289 | + | |
13277 | 13290 | | |
13278 | | - | |
| 13291 | + | |
13279 | 13292 | | |
13280 | 13293 | | |
13281 | 13294 | | |
| |||
13422 | 13435 | | |
13423 | 13436 | | |
13424 | 13437 | | |
13425 | | - | |
13426 | | - | |
| 13438 | + | |
| 13439 | + | |
13427 | 13440 | | |
13428 | 13441 | | |
13429 | 13442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments