kms: Fix i915 fixed_mode vrefresh fallout
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | lib: Introduce igt_memdup()lib/ lib/ | +13 | 3 replies | |
| 2/7 | tests/i915/kms_frontbuffer_tracking: Get rid of the funny mode_copytests/ | +33 | 1 reply | |
| 3/7 | lib/kms: Have igt_std_1024_mode_get() return a copy of the modelib/ lib/ tests/ +1 more | +35 | 1 reply | |
| 4/7 | lib/kms: Have igt_std_1024_mode_get() return a mode with specific refreshlib/ lib/ tests/ +1 more | +10 | 1 reply | |
| 5/7 | lib/kms: Introduce igt_output_preferred_vrefresh()lib/ lib/ | +19 | 1 reply | |
| 6/7 | tests/i915/kms_frontbuffer_tracking: Use preferred modes's vrefreshtests/ | +2 | 1 reply | |
| 7/7 | tests/kms_concurrent: Use preferred modes's vrefreshtests/ | +1 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Bhanuprakash Modem |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [PATCH i-g-t 0/7] kms: Fix i915 fixed_mode vrefresh fallout
From: Ville Syrjälä <[email protected]>
A few igts use a 60Hz hardcoded override mode currently. If the panel's fixed_mode dosn't happen to match that i915 will now reject the mode. So let's adjust the override modes to match the refresh rate the panel needs. We just pick the refresh rate of the first reported mode, which sould be the panel's preferred mode. So this will work just fine even if the panel/driver report and accept multiple refresh rates.
Ville Syrjälä (7):
lib: Introduce igt_memdup() tests/i915/kms_frontbuffer_tracking: Get rid of the funny mode_copy lib/kms: Have igt_std_1024_mode_get() return a copy of the mode lib/kms: Have igt_std_1024_mode_get() return a mode with specific
refresh
lib/kms: Introduce igt_output_preferred_vrefresh() tests/i915/kms_frontbuffer_tracking: Use preferred modes's vrefresh tests/kms_concurrent: Use preferred modes's vrefresh
lib/igt_aux.c | 11 +++ lib/igt_aux.h | 2 + lib/igt_kms.c | 28 +++++-- lib/igt_kms.h | 3 +- tests/i915/kms_frontbuffer_tracking.c | 113 +++++++++++++------------- tests/kms_concurrent.c | 25 +++--- 6 files changed, 103 insertions(+), 79 deletions(-)
Signature · 1 line
2.32.0