From patchwork Sat Jul 20 13:47:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Noralf_Tr=C3=B8nnes?= X-Patchwork-Id: 11050905 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 2B9571510 for ; Sat, 20 Jul 2019 13:47:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C73028876 for ; Sat, 20 Jul 2019 13:47:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1078D288D2; Sat, 20 Jul 2019 13:47:29 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E6C2628876 for ; Sat, 20 Jul 2019 13:47:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 006F56E8B9; Sat, 20 Jul 2019 13:47:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id A5D1E6E8B5 for ; Sat, 20 Jul 2019 13:47:18 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:56672 helo=localhost.localdomain) by smtp.domeneshop.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1hophk-0003FR-GB; Sat, 20 Jul 2019 15:47:16 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/6] drm/tinydrm: Move mipi_dbi Date: Sat, 20 Jul 2019 15:47:03 +0200 Message-Id: <20190720134709.15186-1-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org; s=ds201810; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=qk5AdmkJzqFz+nXlNfPafoypde1nIF+kSwENjAxiD1A=; b=jPNv8pR87avKPtDmxLcLUDoZcXVENS1V/DdfThr7H4FTPTYkFDgEffxkJH61AyZctp7cIrGVi6TRHy1mO2tsPa0Oy5yMw/MZMAci8IuVnu8qcvILnwAgv9EskBnAMyO8syOvXXERHydwiEuftCWTrnpKpsTv5Hpt9ZmjF/uTkFo8vCNIMjUhEiriqBt/dEMeWRtwTWwSbhDLItR0Mz7tgMCIUqM07bHqGEf+uIarUnglpq8mvPYr9Y0Yx08lVi/8cbkndX9boKDwHzG8B+MOvr2mu0hM8Gs2U0Yl4tNGUblbqGR0cJA1RpsOkb3SQ4am2nEPuFn92z+VNA4wKa7asQ==; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: david@lechnology.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This series ticks off the last tinydrm todo entry and moves out mipi_dbi to be a core helper. It splits struct mipi_dbi into an interface part and a display pipeline part (upload framebuffer over SPI). I also took the opportunity to rename the ambiguous 'mipi' variable name to 'dbi'. This lines up with the use of the 'dsi' variable name in the MIPI DSI helper. Note: This depends on series: drm/tinydrm: Remove tinydrm.ko Series is also available here: https://github.com/notro/linux/tree/move_mipi_dbi Noralf. Noralf Trønnes (6): drm/tinydrm/mipi-dbi: Move cmdlock mutex init drm/tinydrm: Rename variable mipi -> dbi drm/tinydrm: Rename remaining variable mipi -> dbidev drm/tinydrm: Split struct mipi_dbi in two drm/tinydrm: Move mipi-dbi MAINTAINERS: Remove tinydrm entry Documentation/gpu/drivers.rst | 1 - Documentation/gpu/drm-kms-helpers.rst | 12 + Documentation/gpu/tinydrm.rst | 18 - Documentation/gpu/todo.rst | 13 - MAINTAINERS | 13 +- drivers/gpu/drm/Kconfig | 4 + drivers/gpu/drm/Makefile | 1 + .../{tinydrm/mipi-dbi.c => drm_mipi_dbi.c} | 324 +++++++++--------- drivers/gpu/drm/tinydrm/Kconfig | 15 +- drivers/gpu/drm/tinydrm/Makefile | 4 - drivers/gpu/drm/tinydrm/hx8357d.c | 61 ++-- drivers/gpu/drm/tinydrm/ili9225.c | 171 ++++----- drivers/gpu/drm/tinydrm/ili9341.c | 83 ++--- drivers/gpu/drm/tinydrm/mi0283qt.c | 89 ++--- drivers/gpu/drm/tinydrm/st7586.c | 104 +++--- drivers/gpu/drm/tinydrm/st7735r.c | 77 +++-- include/drm/drm_mipi_dbi.h | 188 ++++++++++ include/drm/tinydrm/mipi-dbi.h | 135 -------- 18 files changed, 682 insertions(+), 631 deletions(-) delete mode 100644 Documentation/gpu/tinydrm.rst rename drivers/gpu/drm/{tinydrm/mipi-dbi.c => drm_mipi_dbi.c} (78%) create mode 100644 include/drm/drm_mipi_dbi.h delete mode 100644 include/drm/tinydrm/mipi-dbi.h Reviewed-by: Sam Ravnborg Acked-by: Eric Anholt