Re: [Intel-gfx] [PATCH 01/12] drm: Nuke mode->hsync

2020-02-21 Thread Emil Velikov
On Fri, 21 Feb 2020 at 16:04, Ville Syrjälä wrote: > > On Thu, Feb 20, 2020 at 10:55:18AM +, Emil Velikov wrote: > > On Wed, 19 Feb 2020 at 20:35, Ville Syrjala > > wrote: > > > > > > From: Ville Syrjälä > > > > > > Let's just calculate the hsync rate on demand. No point in wasting > > > spa

Re: [Intel-gfx] [PATCH 01/12] drm: Nuke mode->hsync

2020-02-21 Thread Ville Syrjälä
On Thu, Feb 20, 2020 at 10:55:18AM +, Emil Velikov wrote: > On Wed, 19 Feb 2020 at 20:35, Ville Syrjala > wrote: > > > > From: Ville Syrjälä > > > > Let's just calculate the hsync rate on demand. No point in wasting > > space storing it and risking the cached value getting out of sync > > wit

Re: [Intel-gfx] [PATCH 01/12] drm: Nuke mode->hsync

2020-02-20 Thread Emil Velikov
On Wed, 19 Feb 2020 at 20:35, Ville Syrjala wrote: > > From: Ville Syrjälä > > Let's just calculate the hsync rate on demand. No point in wasting > space storing it and risking the cached value getting out of sync > with reality. > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/drm_mode

[Intel-gfx] [PATCH 01/12] drm: Nuke mode->hsync

2020-02-19 Thread Ville Syrjala
From: Ville Syrjälä Let's just calculate the hsync rate on demand. No point in wasting space storing it and risking the cached value getting out of sync with reality. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_modes.c | 14 ++ drivers/gpu/drm/i915/display