On Wed, 19 Feb 2020 at 20:36, Ville Syrjala ville.syrjala@linux.intel.com wrote:
From: Ville Syrjälä ville.syrjala@linux.intel.com
Get rid of mode->vrefresh and just calculate it on demand. Saves a bit of space and avoids the cached value getting out of sync with reality.
Mostly done with cocci, with the following manual fixups:
- Remove the now empty loop in drm_helper_probe_single_connector_modes()
- Fix __MODE() macro in ch7006_mode.c
Speaking of ch7006_mode.c, it has its own "fixed vrefresh", which doesn't seem to be used anywhere. One could potentially nuke it, although it can be a completely separate patch.
This patch is: Reviewed-by: Emil Velikov emil.velikov@collabora.com
-Emil