]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/vrr: Add helper to check if vrr possible
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Thu, 10 Oct 2024 04:05:01 +0000 (09:35 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Oct 2024 14:38:49 +0000 (17:38 +0300)
commitffb7dedde32cbbedcc1836071bb3886a66f232c5
treea25f952387c9c098ed4cb14b77dedf9ca9723fcb
parent750a95407bcb5787359d3cd5d0c9de092a0a1efd
drm/i915/vrr: Add helper to check if vrr possible

Add helper to check if vrr is possible based on flipline
is computed.

--v1:
return just flipline instead using ternary operator [Jonathan, Ville].

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241010040503.1795399-2-mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/i915/display/intel_vrr.c
drivers/gpu/drm/i915/display/intel_vrr.h