graphics: add adaptive FPS policy to weston-simple-egl#379
graphics: add adaptive FPS policy to weston-simple-egl#379bhargav0610 merged 2 commits intoqualcomm-linux:mainfrom
Conversation
Update Runner/utils/lib_display.sh to add reusable helpers for display FPS validation: - display_parse_fps_log() - display_resolve_fps_policy() - display_apply_fps_refresh_policy() - display_fps_gate_avg() These helpers centralize FPS parsing, expectation mode resolution, refresh-policy application, and FPS gating so display test run.sh scripts can stay thin and reuse the same logic across platforms with different refresh rates. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Update weston-simple-egl/run.sh to use shared FPS helpers from lib_display.sh instead of carrying FPS policy and parsing logic in the test script. Changes in this update: - switch to FPS_EXPECT_MODE-based configuration - resolve FPS policy through shared display helpers - apply refresh policy through shared display helpers - parse FPS stats through shared display helpers - gate average FPS through shared display helpers This keeps the runner focused on setup, execution, and result emission while reusing common display logic for mixed-refresh platforms. Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
|
[INFO] 2026-04-01 09:08:45 - EGLINFO: GL_RENDERER: Adreno (TM) X2-85 |
This PR address the issue #376 weston-simple-egl to use an adaptive FPS policy instead of relying only on a fixed 60 FPS expectation.
What changed
use the shared display FPS helpers
Why this is needed
The previous implementation was effectively centered around a fixed 60 FPS expectation and ~60Hz normalization. That works for 60Hz panels, but it is not suitable for higher-refresh platforms such as 120Hz laptop displays.
With this change, the same test can run correctly on both: