We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fdcdb5 commit 509c789Copy full SHA for 509c789
drivers/gpu/drm/i915/display/intel_vblank.c
@@ -222,7 +222,9 @@ int intel_crtc_scanline_offset(const struct intel_crtc_state *crtc_state)
222
* However if queried just before the start of vblank we'll get an
223
* answer that's slightly in the future.
224
*/
225
- if (DISPLAY_VER(display) == 2)
+ if (DISPLAY_VER(display) >= 20 || display->platform.battlemage)
226
+ return 1;
227
+ else if (DISPLAY_VER(display) == 2)
228
return -1;
229
else if (HAS_DDI(display) && intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
230
return 2;
0 commit comments