From patchwork Tue Apr 2 02:19:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10880913 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 EC7F218E8 for ; Tue, 2 Apr 2019 02:19:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D424820CCF for ; Tue, 2 Apr 2019 02:19:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7D6C2434C; Tue, 2 Apr 2019 02:19:50 +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,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 42BF820CCF for ; Tue, 2 Apr 2019 02:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=m/pzihWrRQQewfyi2MTknwheA1wRT4NJmv7GJimqg1s=; b=cUkK7Mmj2P1HM3 F+iKTxO3oG9Y0Fy8EzsgaVcVYT/C7dLQdZAO/A9/eoIyxagif/6duVWQexhAm6LVuAS41tfnhgpSh NoxVgsWOCOzair3mS+N/Wn5T6z8JIEX7a7KBbjz/fKyGSVgoDpEjQkVLuLvsUp7zRPKCW8+/Cj668 s3sD3NPv1MLd0blWPDhPP0z0AEK5kB9/osIVEK8VbIMxbgvZoz/zQPaO2o2AALpnl8+7Z1WhJEuOk ShT8e5jPo/xmdBG1ULUJWHcWz2ri9XIruiaI7lul1IgacZJEG5z+zjyqKhxLbe/UBUkqI6yDiQjg4 oFTeS4hadyDzy4nqPCyg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hB91h-0001Tq-1J; Tue, 02 Apr 2019 02:19:49 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hB91c-0001TE-Tx for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2019 02:19:46 +0000 Received: by mail-pf1-x441.google.com with SMTP id r15so5513800pfn.9 for ; Mon, 01 Apr 2019 19:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=q4dmTZWfGTNCe93Q9QzeabUUSi8m2inN73CFZRmD4XI=; b=hn+OqWbZxW1bqPhEYBa/L/yGtjkG3EiOEzpQ9uhCLKKMbTnBY8QELM/yWzSzvtDeWb dk8Xbj6jr858Ht9EsoCWs4jZqLedzVeykk55A51sw2rpK447rPVklOFAfPuuBRvo+Uxo OsYgMRxBJoBimFY+B/Kzy4u5ndj1dE9HX/Xg+jW6SD9PdFYVD5j0YADGpCnsP1zpFgbL lHM22KHLw8v8TYTBp3ITiGtHG6d7l8Xu9js9Icl+dSQt6tkcnWKLg+bZj2pPnhXdxK+d RTue2vuPxxM4mTr7mvEz+vXdggt3zyNddpDGVu8X75Uo8s1nv6nkgTIeKPC40bfKv2Qh pmaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=q4dmTZWfGTNCe93Q9QzeabUUSi8m2inN73CFZRmD4XI=; b=dM1ROu/Efbwqssp0aINP9oFEPXn0OfJq3wiff4iDI7VG8UHqe4H3YvazXD4Z64TAx2 lKC8g+1txB95wQTVeHovmu67+A2mUKTGBx63ILV7aoyM/o6jFq4c18B0HpBKCB4oaYBz lxoHKgGdemtPov9FKW44fnHvANju3A5KLAWNTsoUxmJONVVrEFpMs+tFgjUx0WSthMbI i3BEmZx2kjUJ0YUN7IOlxv5wEexCRb0ULADZJoRawtlmpvP13Us2NtiS6k+HvSEdMxGd TWjWwbZxxOPbafAMn/1ioxjzz/Xaqgcd5phzm4Fc5Wp8/PiP4FIo82B9YAheQO/+JE4H Dptg== X-Gm-Message-State: APjAAAURW5ayDRI4PaJo363nZ5a4fgSW8bI72JwkSdP2B64IAkGCE5Gx 3n+EAc27HzhbGPintj2Jk3k= X-Google-Smtp-Source: APXvYqx8/1zditTgzw2qwj+ru/oOoZjNs3z0SoplbHUCgtmYY3KQKfD0ahm5y83yoJGpuVzs5mQjtQ== X-Received: by 2002:a62:75c5:: with SMTP id q188mr27787065pfc.76.1554171583533; Mon, 01 Apr 2019 19:19:43 -0700 (PDT) Received: from voyager.jms.id.au ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id m16sm26205011pfi.29.2019.04.01.19.19.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 19:19:42 -0700 (PDT) Received: by voyager.jms.id.au (sSMTP sendmail emulation); Tue, 02 Apr 2019 12:49:34 +1030 From: Joel Stanley To: Daniel Vetter , Rob Herring Subject: [PATCH v2 0/3] drm: Add ASPEED BMC 'GFX' driver Date: Tue, 2 Apr 2019 12:49:30 +1030 Message-Id: <20190402021933.13071-1-joel@jms.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190401_191944_991230_C4C2216B X-CRM114-Status: GOOD ( 12.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, David Airlie , Maarten Lankhorst , dri-devel@lists.freedesktop.org, Andrew Jeffery , =?utf-8?q?Noralf_Tr=C3=B8nnes?= , Sean Paul , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP v2: Address review from Noralf and Daniel, add maintainers patch This driver is for the ASPEED BMC SoC's GFX display hardware. This driver runs on the ARM based BMC systems, unlike the ast driver which runs on a host CPU and is is for a PCIe graphics device that happens to live in the BMC's silicon, but is otherwise available for use by the BMC. Joel Stanley (3): dt-bindings: gpu: Add ASPEED GFX bindings document drm: Add ASPEED GFX driver MAINTAINERS: Add ASPEED BMC GFX DRM driver entry .../devicetree/bindings/gpu/aspeed-gfx.txt | 41 +++ MAINTAINERS | 8 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/aspeed/Kconfig | 14 + drivers/gpu/drm/aspeed/Makefile | 3 + drivers/gpu/drm/aspeed/aspeed_gfx.h | 104 +++++++ drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c | 239 ++++++++++++++++ drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 266 ++++++++++++++++++ drivers/gpu/drm/aspeed/aspeed_gfx_out.c | 42 +++ 10 files changed, 720 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/aspeed-gfx.txt create mode 100644 drivers/gpu/drm/aspeed/Kconfig create mode 100644 drivers/gpu/drm/aspeed/Makefile create mode 100644 drivers/gpu/drm/aspeed/aspeed_gfx.h create mode 100644 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c create mode 100644 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c create mode 100644 drivers/gpu/drm/aspeed/aspeed_gfx_out.c