diff options
author | Ville Syrjälä <[email protected]> | 2023-12-13 12:25:16 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2024-01-22 19:04:03 +0200 |
commit | 318ec320c6c7862bf592914d603c67256fa97cc0 (patch) | |
tree | 6b4ae28acda68c81991577e13aac63e95cbc4087 /lib/memory-notifier-error-inject.c | |
parent | b5ad7ce024b3a866b3d510f121cfa5c1b3610adf (diff) |
drm/i915: Move the min/max scanline sanity check into intel_vblank_evade()
There isn't really any reason to make the caller suffer through
checking the vblank evasion min/max scanlines. If we somehow
ended up with bogus values (which really shouldn't happen)
then just skip the actual vblank evasion loop but otherwise
plow ahead as normal.
The only "real" change is that we now get+put a vblank reference
even if the min/max values are bogus, previously we skipped
directly to the end.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Uma Shankar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions