From: Stefan Monnier Subject: Re: [PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check Date: Fri, 24 Feb 2017 18:59:33 -0500 Message-ID: References: <20161124112231.4297-1-wens@csie.org> <20161206172911.z6sbjzgqv3vfcrfh@lukather> <7603150.D9x404uVey@avalon> <20170223155437.GA24066@art_vandelay> <1487929872.6887.11.camel@pengutronix.de> Reply-To: monnier-CRDzTM1onBSWkKpYnGOUKg@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: dri-devel@lists.freedesktop.org > So we're back to where we started. What is a reasonable tolerance to set in > the driver if we don't know the tolerances of the panel? Can you manually fudge the min/max settings from the guessed timing to which you apply a 5% tolerance? IOW, the 5% tolerance is not in the driver's code but in the "script" (or human) used to create the panel description. Stefan