]> www.infradead.org Git - nvme.git/commit
drm/i915: Make vrr_{enabling,disabling}() usable outside intel_display.c
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Jun 2024 19:10:20 +0000 (22:10 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Jul 2024 11:22:53 +0000 (14:22 +0300)
commit09af6037128c101c280c95c56d970ce8475506c2
treea5d9eb7685abfe77a1abb7c8330828a8c1323f5c
parent3b0974d7b74a908d1caa27f05a97551943e1bffe
drm/i915: Make vrr_{enabling,disabling}() usable outside intel_display.c

Give vrr_enabling() and vrr_disabling() slightly fancier names, and
pass in the whole atomic state so that they'll be easier to use.
We'll need to call at least the disabling part from the DSB code
soon enough (so that we can do vblank evasions/etc. correctly on
the DSB).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240624191032.27333-3-ville.syrjala@linux.intel.com
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
drivers/gpu/drm/i915/display/intel_display.c