From patchwork Mon Aug 20 16:00:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10570521 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D28A5A4 for ; Mon, 20 Aug 2018 16:00:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CC9B2977A for ; Mon, 20 Aug 2018 16:00:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A7F12979B; Mon, 20 Aug 2018 16:00:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB15329797 for ; Mon, 20 Aug 2018 16:00:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726966AbeHTTRC (ORCPT ); Mon, 20 Aug 2018 15:17:02 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:45576 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbeHTTRC (ORCPT ); Mon, 20 Aug 2018 15:17:02 -0400 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AE64BCD; Mon, 20 Aug 2018 18:00:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1534780849; bh=8h/PvtsGaGzMTLofYwrn+TPbir8N/u5LUftFJJhDo2U=; h=From:To:Cc:Subject:Date:From; b=G64sPQ5OaCAb5X+0gS6UPLD/u5SmDkwPXZip7lChZRPz8aQhgaziKyU5KqVfL4NUx LHql9QeIQ1EO2rDLHX1qdyWPuTdBrxjb1oRu2wYAwp+UA60Kf8yfirJpNC7XRR1hM/ Tej5BMz6BDx4/tF4XHc+SS5OzNOwsH+D+WhKLsy4= From: Kieran Bingham To: Laurent Pinchart , David Airlie Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham Subject: [PATCH 0/2] drm: rcar-du: Add interlaced feature support flag Date: Mon, 20 Aug 2018 17:00:42 +0100 Message-Id: <20180820160044.15783-1-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.17.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The R-Car DU on the D3 and E3 does not support interlaced pipelines, thus we need to have a means to reject interlaced configurations on those platoforms. Provide a new feature flag, and add that flag to all existing devices which currently support interlaced pipelines. When D3 and E3 support is added, this feature flag shall be ommited. Kieran Bingham (2): drm: rcar-du: Refactor Feature and Quirk definitions drm: rcar-du: Add interlaced feature flag drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 14 +++++++++++ drivers/gpu/drm/rcar-du/rcar_du_drv.c | 32 +++++++++++++++++--------- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 9 ++++---- 3 files changed, 40 insertions(+), 15 deletions(-)