From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9AD54C04AB4 for ; Fri, 17 May 2019 22:31:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 619022166E for ; Fri, 17 May 2019 22:31:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="wLL0CDjS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729168AbfEQWbt (ORCPT ); Fri, 17 May 2019 18:31:49 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:54374 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbfEQWbt (ORCPT ); Fri, 17 May 2019 18:31:49 -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 93C662F3; Sat, 18 May 2019 00:31:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1558132307; bh=hrreR5uYRWGRqx1xcaMBEKSzGe5SPNniPH+7l05moZs=; h=From:To:Cc:Subject:Date:From; b=wLL0CDjSV5zlGtmCmdhx0gsq2nAtHTLeLiJ7TuMCBa5hajNudX6zKUHrI3NmPxzpM Emb/JIqvh/cX/b8S7wLsM27dLdwtUx5TikD5JE+JZiGY9nn8q/NCc9RsCQBZORwJpJ fj6F33WyiXOZF0/VqRxoPWhEmS6kk7svwleZOkl4= From: Kieran Bingham To: Laurent Pinchart , linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Kieran Bingham Subject: [RFC PATCH 0/3] VSP1/DU atomic interface changes Date: Fri, 17 May 2019 23:31:40 +0100 Message-Id: <20190517223143.26251-1-kieran.bingham+renesas@ideasonboard.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org As part of the ongoing DU group refactoring it became apparent that we need to split the configuration of the VSP to allow fine grain control of setting the VSP1 mode configuration and enabling/disabling of the pipeline. To split the mode configuration and the pipeline enablement, we add three new calls: - vsp1_du_atomic_modeset() - vsp1_du_atomic_enable() - vsp1_du_atomic_disable() To support the cross-component API, the new interface is added in [patch 1/3], including an implementation of vsp1_du_setup_lif() to support the transition. The DRM usage is adapted in [patch 2/3], before the call is removed entirely in [patch 3/3] Whilst these patches are independent and could be reviewed separately, they are not expected to be integrated until the associated group rework is completed. Kieran Bingham (3): media: vsp1: drm: Split vsp1_du_setup_lif() drm: rcar-du: Convert to the new VSP atomic API media: vsp1: drm: Remove vsp1_du_setup_lif() drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 4 +- drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 21 ++- drivers/gpu/drm/rcar-du/rcar_du_vsp.h | 2 + drivers/media/platform/vsp1/vsp1_drm.c | 188 ++++++++++++++++--------- include/media/vsp1.h | 26 ++-- 5 files changed, 159 insertions(+), 82 deletions(-) -- 2.20.1