]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Treat DMRRS as static DRRS
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 May 2022 19:18:44 +0000 (22:18 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 1 Jun 2022 13:46:06 +0000 (16:46 +0300)
commit00a1c3c0dd6df47cc398f3b3db3b658c63f44268
tree2ec8ba0c0897c21fb97b4c742124374b07f5b249
parent0c64d5689a5026b8a7b823cea7db6d433e5b6d2a
drm/i915: Treat DMRRS as static DRRS

Some machines declare DRRS type = seamless, DRRS = no, DMRRS = yes.
I *think* DMRRS stands for "dynamcic media refresh rate", and
I suspect the way it's meant to work is that it lets the driver
switch refresh rates to match the frame rate for media playback.
Obviously for us all that kind of policy stuff is entirely up to
userspace, so the only thing we may do is make the extra refresh
rate(s) available.

So let's treat this case as just static DRRS for now. In the
future We might want to differentiate the "seamless w/ downclocking"
vs. "seamless w/o downclocking" cases so that we could do seamless
refresh rate changes for systems that only claim to support DMRRS.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/125
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220531191844.11313-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_bios.c