diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-09-23 23:01:06 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2021-09-30 11:19:46 +0300 |
commit | 00fc3787d277299c39a7c35290e79375c6de9f24 (patch) | |
tree | 8b41856ed52e7778a7476c570df9a4cee04e704a /drivers/gpu/drm/i915/display/vlv_dsi.c | |
parent | 8a567b1102270bd1bbbd6686cfe859aa891648b9 (diff) |
drm/i915: Reject modes that don't match fixed_mode vrefresh
When using a fixed mode we won't change the refresh rate ever.
So filter out all modes that don't match the fixed_mode's refresh
rate.
I'm going to declare the "rounded to nearest Hz refresh
rates must match" approach good enough for now.
Note that we could start supporting multiple refresh rates
with panels that can do it, but that would mean replacing
the single fixed mode concept with a list of fixed modes.
Then we could look for the closest match to the user's
requested refresh rate and use that. But all of that would
be a fair bit of work so we'll leave it for later.
References: https://gitlab.freedesktop.org/drm/intel/-/issues/2939
References: https://gitlab.freedesktop.org/drm/intel/-/issues/3969
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210923200109.4459-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/vlv_dsi.c')
0 files changed, 0 insertions, 0 deletions