Re: [PATCH] drm: arcpgu: Allow some clock deviation in crtc->mode_valid() callback

2017-07-12 Thread Alexey Brodkin
Hi Jose, On Tue, 2017-06-27 at 15:36 +0100, Jose Abreu wrote: > Currently we expect that clock driver produces the exact same value > as we are requiring. There can, and will, be some deviation however > so we need to take into account that instead of rejecting the mode. > > According to HDMI spe

[PATCH] drm: arcpgu: Allow some clock deviation in crtc->mode_valid() callback

2017-06-27 Thread Jose Abreu
Currently we expect that clock driver produces the exact same value as we are requiring. There can, and will, be some deviation however so we need to take into account that instead of rejecting the mode. According to HDMI spec we have a max of +-0.5% for the pixel clock frequency variation. Lets t