Skip to content

kms: Fix i915 fixed_mode vrefresh fallout

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7lib: Introduce igt_memdup()lib/igt_aux.c lib/igt_aux.h+13 -03 replies
2/7tests/i915/kms_frontbuffer_tracking: Get rid of the funny mode_copytests/i915/kms_frontbuffer_tracking.c+33 -361 reply
3/7lib/kms: Have igt_std_1024_mode_get() return a copy of the modelib/igt_kms.c lib/igt_kms.h tests/i915/kms_frontbuffer_tracking.c +1 more+35 -401 reply
4/7lib/kms: Have igt_std_1024_mode_get() return a mode with specific refreshlib/igt_kms.c lib/igt_kms.h tests/i915/kms_frontbuffer_tracking.c +1 more+10 -101 reply
5/7lib/kms: Introduce igt_output_preferred_vrefresh()lib/igt_kms.c lib/igt_kms.h+19 -01 reply
6/7tests/i915/kms_frontbuffer_tracking: Use preferred modes's vrefreshtests/i915/kms_frontbuffer_tracking.c+2 -21 reply
7/7tests/kms_concurrent: Use preferred modes's vrefreshtests/kms_concurrent.c+1 -11 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchBhanuprakash Modem
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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