aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2023-04-05 15:31:05 +0200
committerDaniel Vetter <[email protected]>2023-04-06 07:33:25 +0200
commitf2c7ca890182d24ac817fa321489346000271c5c (patch)
tree5032ef23544b2f0e20b1110b1f0c188c6cb2dc50 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent5d844091f2370f01752c3129b147861b9dcd3d98 (diff)
drm/atomic-helper: Don't set deadline for modesets
If the crtc is being switched on or off then the semantics of computing the timestampe of the next vblank is somewhat ill-defined. And indeed, the code splats with a warning in the timestamp computation code. Specifically it hits the check to make sure that atomic drivers have full set up the timing constants in the drm_vblank structure, and that's just not the case before the crtc is actually on. For robustness it seems best to just not set deadlines for modesets. v2: Also skip on inactive crtc (Ville) Link: https://lore.kernel.org/dri-devel/[email protected]/ Fixes: d39e48ca80c0 ("drm/atomic-helper: Set fence deadline for vblank") Cc: Ville Syrjälä <[email protected]> Cc: Rob Clark <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Thomas Zimmermann <[email protected]> Reported-by: Dmitry Baryshkov <[email protected]> Tested-by: Dmitry Baryshkov <[email protected]> # test patch only Cc: Dmitry Baryshkov <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Reviewed-by: Rob Clark <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions