Re: [PATCH 4/7] drm/i915: Simplify scanline_offset handling for gen2

2024-05-29 Thread Jani Nikula
On Tue, 28 May 2024, Ville Syrjala wrote: > From: Ville Syrjälä > > Currently intel_crtc_scanline_offset() is careful to always > return a positive offset. That is not actually necessary > as long as we take care of negative values when applying the > offset in __intel_get_crtc_scanline(). > > Th

[PATCH 4/7] drm/i915: Simplify scanline_offset handling for gen2

2024-05-28 Thread Ville Syrjala
From: Ville Syrjälä Currently intel_crtc_scanline_offset() is careful to always return a positive offset. That is not actually necessary as long as we take care of negative values when applying the offset in __intel_get_crtc_scanline(). This simplifies intel_crtc_scanline_offset(), and makes the