diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-06-24 22:10:24 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-08-29 14:54:03 +0300 |
commit | eb4556f25fb4cb3a005a93dcc6dcc4b0c024f5f7 (patch) | |
tree | 4bb3e4fb5ad1afbfff19d72909af716a62c78510 /drivers/gpu/drm/i915/display/intel_display.c | |
parent | 70a65a5de23337c0c0251c482520224ac80bdeb5 (diff) | |
download | linux-eb4556f25fb4cb3a005a93dcc6dcc4b0c024f5f7.tar.gz linux-eb4556f25fb4cb3a005a93dcc6dcc4b0c024f5f7.tar.bz2 linux-eb4556f25fb4cb3a005a93dcc6dcc4b0c024f5f7.zip |
drm/i915/dsb: Fix dewake scanline
Currently we calculate the DEwake scanline based on
the delayed vblank start, while in reality it should be computed
based on the undelayed vblank start (as that is where the DSB
actually starts). Currently it doesn't really matter as we
don't have any vblank delay configured, but that may change
in the future so let's be accurate in what we do.
We can also remove the max() as intel_crtc_scanline_to_hw()
can deal with negative numbers, which there really shouldn't
be anyway.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240624191032.27333-7-ville.syrjala@linux.intel.com
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display.c')
0 files changed, 0 insertions, 0 deletions