diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2026-10-23 19:57:51 +0300 |
|---|---|---|
| committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2026-11-03 09:13:41 +0200 |
| commit | 01aa63eade529680cb28fce40f2357bf392a249f (patch) | |
| tree | 6919491eeea39145c5f9b1e5b5ed6cecfd9dfc9a /tools/lib/python | |
| parent | 285300ef89aacbe902ba29c91625975f51345217 (diff) | |
drm/i915/vrr: Fix intel_vrr_dcb_vmin_vblank_start()
intel_vrr_dcb_vmin_vblank_start() may evaluate
intel_vrr_dcb_vmin_vblank_start_next() twice, and given that
this is doing hardware access under the hood isn't really
desired.
Even worse, the double evaluation might even cause
intel_vrr_dcb_vmin_vblank_start() itself to finally
return -EINVAL (if we race against the DMC hard enough),
which we definitely never want to do.
Eliminate the double evaluation, guaranteeing a sane
final return value at the same time.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20261023165803.31016-2-ville.syrjala@linux.intel.com
Fixes: c4aba65c26fd ("drm/i915/display: Wait for VRR PUSH status update")
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit 9defa95510abce51f68d926b445567784a0a6701)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
