[Intel-gfx] [PATCH 04/12] drm: Nuke mode->vrefresh
Emil Velikov
emil.l.velikov at gmail.com
Thu Feb 20 12:00:04 UTC 2020
On Wed, 19 Feb 2020 at 20:36, Ville Syrjala
<ville.syrjala at linux.intel.com> wrote:
>
> From: Ville Syrjälä <ville.syrjala at 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 at collabora.com>
-Emil
More information about the Intel-gfx
mailing list