From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751377AbdE3K3M (ORCPT ); Tue, 30 May 2017 06:29:12 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:49433 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbdE3K3L (ORCPT ); Tue, 30 May 2017 06:29:11 -0400 Message-ID: <1496140141.5485.3.camel@pengutronix.de> Subject: Re: [PATCH v5 07/10] drm/bridge/synopsys: dw-hdmi: Use bridge->mode_valid() callback From: Philipp Zabel To: Archit Taneja Cc: Jose Abreu , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mark Yao , Carlos Palminha , Daniel Vetter , Andrzej Hajda , Laurent Pinchart , David Airlie , Carlo Caione , Kevin Hilman , Heiko Stuebner Date: Tue, 30 May 2017 12:29:01 +0200 In-Reply-To: <49c4273c-eb14-da5d-f85d-a3a944f8f9cd@codeaurora.org> References: <3d8d449e4d13d2535fa292c75f5fa931de4a4fa8.1495720737.git.joabreu@synopsys.com> <49c4273c-eb14-da5d-f85d-a3a944f8f9cd@codeaurora.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Archit, On Tue, 2017-05-30 at 15:54 +0530, Archit Taneja wrote: > Hi, > > On 05/25/2017 07:49 PM, Jose Abreu wrote: > > Now that we have a callback to check if bridge supports a given mode > > we can use it in Synopsys Designware HDMI bridge so that we restrict > > the number of probbed modes to the ones we can actually display. > > > > Also, there is no need to use mode_fixup() callback as mode_valid() > > will handle the mode validation. > > > > NOTE: Only compile tested > > NOTE 2: I also had to change the pdata declaration of mode_valid > > custom callback so that the passed modes are const. I also changed > > in the platforms I found. Not even compiled it though. > > This compiles fine and has been tested on Meson by Neil. > > Since this also touches rockchip/imx drm driver files, can I get an > OK from the maintainers to pull the changes via drm-misc? Of course, Acked-by: Philipp Zabel regards Philipp