From patchwork Wed Apr 3 00:19:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1075130 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SPCvfnCL"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JJ1qxURs"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44Ymsr3bl4z9sSP for ; Wed, 3 Apr 2019 11:19:28 +1100 (AEDT) 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=Etv+yJruL+OhZAIRJoj2jcnLRpAKG1P6DN40FB6ITmU=; b=SPCvfnCLnLaHyK XDK9chYbvdVWbigBI5ellGPl2dOchG/4xLV9fN7iQDqYG1mi+5KQiDB306pTpYltchjcW/v8aQKUJ Fxyr5ZP6d51E9wcLmOmjAYEH0OxUZUqhX/+H+rRRi8xLiPWo8x63n1IoDctsqUX4niwPeDESh12Z0 wJPjy3omTUcPm2JhrWNBMcTbGLIIHahO2w5AtbvQyAMyt2rpJLbYyOuck9M5d6QRovdSEnSVQ+f72 JgJsoU6FoHR7I2Rm75UFuU5qoqcSlEoXSs5PPwrqodXZefVJYbi6/ZyZsJzhVOEbFIfwDCghcRgdi PvYMJCdLm7+2QhVZqeXA==; 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 1hBTci-0006HG-0k; Wed, 03 Apr 2019 00:19:24 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBTce-0006Gu-Oa for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2019 00:19:22 +0000 Received: by mail-pl1-x644.google.com with SMTP id y6so7075555pll.13 for ; Tue, 02 Apr 2019 17:19:20 -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=lwfll33/EfKfWoCBgz+Vg/jhXVGjp4unGTIqOfoPdZw=; b=JJ1qxURsWHo2VQasgVKuvrVHmy7h27fzLe5xp4hGCwdZj+RZ93jS3H56QrkXHfJtcS F2B5HVcsVYCm2l5ggX3LJy0RMm/EEC7Q6DU/N9siV635JslBp1jW0Xfj5DjwJ1AN57Lz 8HyZ3B3jneTp7AQyY4MiMZgvGdwkStP2U18xsXXEAoSBSO/C8dHyejW0WUEhCRinCG9J oyiv+nyS0IdwYCnlAxmoP29rQDgBz1ytO/s7FUCJkosOvQdQ5Ehp/tXkmKXMM74gQYFG 4KcWNpuqM9MfR5tRu5EzqZYWfOC70WmVi92GxLPCxl73ZGnJEeFnNNuOVX4I77ggknSU oV4g== 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=lwfll33/EfKfWoCBgz+Vg/jhXVGjp4unGTIqOfoPdZw=; b=l/R/ehrdKtpsSt8MBX/CNX9g/Qb9PYrcKMUTM14d6AZwtCcql6VbZA+Yb+DJ3MctK1 oSwo2GY109y49F/6SMEKjjTToECFlvDkY/pbHFdxbM18bR+2Ki/UuadF9Une5EXLfjwP Nc/xVU0HsdlcL1qUfkWnRf/qsrqxwi3eOF8DKW+oeKPhMPR25KVGjFp/K1lJfdV8zDWd 2f+gYKYzYp0GuEBYdVgbv2MUpGOGhxf7vvOjptL79ghdwbmxdVcsoctr1wgd6MVxtMou 8lZWJJjBOwaPgAm11K7bSngfA4H6IYfqE0OaYsT/+zBV7cZ5tXgEvTFOhpn99TOkIiTa edtA== X-Gm-Message-State: APjAAAWGZ9eYx9DxLCsLWnViyPW40tKs0iA/Xzuoj7j/ghM1Pck6QW3D 1xvBV7HCedxk0/QwkRUrqbg= X-Google-Smtp-Source: APXvYqzm1+r8z4JjvlwuNjk0dx8my+nAAa7WE2TGiGzlNYVOOcNcuYyqKTGx/q3xBhq6ekrE2UxBkw== X-Received: by 2002:a17:902:b210:: with SMTP id t16mr50010341plr.84.1554250759799; Tue, 02 Apr 2019 17:19:19 -0700 (PDT) Received: from voyager.jms.id.au ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id j67sm8248338pfc.72.2019.04.02.17.19.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 17:19:19 -0700 (PDT) Received: by voyager.jms.id.au (sSMTP sendmail emulation); Wed, 03 Apr 2019 10:49:10 +1030 From: Joel Stanley To: Daniel Vetter , Rob Herring Subject: [PATCH v3 0/3] drm: Add ASPEED BMC 'GFX' driver Date: Wed, 3 Apr 2019 10:49:06 +1030 Message-Id: <20190403001909.31637-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-20190402_171920_821477_3C3F4AA7 X-CRM114-Status: GOOD ( 12.51 ) X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (joel.stan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org v3: Fix up drmP and IRQ flag, thanks Sam 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 | 241 ++++++++++++++++ drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 269 ++++++++++++++++++ drivers/gpu/drm/aspeed/aspeed_gfx_out.c | 42 +++ 10 files changed, 725 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 Acked-by: Andrew Jeffery