Commit da4c6228 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Kamal Ap
Browse files

UPSTREAM: drm/i915: Allow fastboot to fix up the vblank delay



GOP might not agree with our idea of what the vblank delay should be.
Reuse the LRR codepaths to fix that up via a fastset.

The relevant registers aren't actually double buffered so this is a
little bit dodgy. While I've not seen any real issues from frobbing
these live, let's limit this to just the fastboot case (by only
allowing it when old_crtc_state->inherited==true).

Cc: Paz Zcharya <pazz@chromium.org>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250116201637.22486-7-ville.syrjala@linux.intel.com


Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
(cherry picked from commit 42fdbe94)

Bug: 432032023
Test: None
Change-Id: I493ea86cc9a30a19029336ae0f99f51db05b8fc9
Signed-off-by: default avatarAp, Kamal <kamal.ap@intel.corp-partner.google.com>
parent 4425755d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment