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: 161644 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2365592jan; Tue, 2 Apr 2019 17:19:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnFYD/cl/iIskp3cqDRmw1ONQjZ4N4JGCuYTJ+6YoGlpKv/7xn5Mbv0J470QH1PboTJZPN X-Received: by 2002:a65:4844:: with SMTP id i4mr68075897pgs.347.1554250761515; Tue, 02 Apr 2019 17:19:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554250761; cv=none; d=google.com; s=arc-20160816; b=dYRYSvqDoG3Lu72CMSmG4/U8eCSUmPHjI0JTOFjwFuijfuXhi6B/p5bztdiFuBY0zo MgrBtJBZfYcACYLG+w7IyjF6jTyI9B7YQYZwM6LDGIwt2b6Rg7SLaLCCsoPKBgVBTfTx P7cndXqtusJb218yu8xgLBXneKEtNDZ8EjSDcbXGA+hpKii1lDOTSHVsJEFEP/OmHqg+ PqsEfhgoO/ghd1YNlwgVAWqiGWOkGXSIuxZH2tbFDBtdB9woyvSzqQCimEKg/Ihc/ScZ ZxqD8J0D0yB0sQYgHXyUuPVGEMqvG2Y2Qm6FI+I6nKTO66dkBj0f8jbABChG/uCf5/4G 3qmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lwfll33/EfKfWoCBgz+Vg/jhXVGjp4unGTIqOfoPdZw=; b=YN9eN96bOf2xOUwVmY1r/wKaZagt+lqVzGpYN21zD7WbxNhQ24v+a5VhoLBcperhDh edKorULRwmo+92C3Q3E6p/Z6hvbZRqQURexpFvqKx0jfVKpNCAJLaLkBIPHDE51x3cRz fTvmRxUTOhCm1YXVtAe72lhdJtFkbRs81hk++Ce2Z3NOoEhYy9bLULr+ZcsQWOYwVjVk 4ct/IJ5zCy5mBlzuEEYs+d6QuDn0H/iGw+VDpny6dFGAUilUNPwdAucF9u5lb9Q3LMke 51mTIcyxUgoJ/FttTJ1uzEATb+9X/C0Bpp7YEsHvJR7U016nDmZsdEsD1vcLx8GyekUL F+gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=JJ1qxURs; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r63si12737365plb.94.2019.04.02.17.19.21; Tue, 02 Apr 2019 17:19:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=JJ1qxURs; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726168AbfDCATU (ORCPT + 7 others); Tue, 2 Apr 2019 20:19:20 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:43047 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbfDCATU (ORCPT ); Tue, 2 Apr 2019 20:19:20 -0400 Received: by mail-pl1-f196.google.com with SMTP id m10so7080661plt.10 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=tu9EFgMKtqoH/dJJDFdDY0Fo2CnUOXZL6/1bNFUqoMkkqNEGzVcAszDHTdlHkVDXiB FI6NpivG0Z3gDcBPDEnLUD7AaiR+oIinH7wdsf5w2BB+6LeX4XUOVOhuigZMw/gTnir4 /tulTAbYCTGweSfFhfIEuRAdWvd+refPDGQBU4ySNnzPPVgYB7Sub+RJTmsXLpqR4JDk nFTivtbNPpxhRchNcNQKXKsR3npENlf1aOUGNCgiwTba4/7X7eLV6KkX1KNqMayNmo5X /0b1YxC9lOz0A2Dl4A2ZXQbNXsJZnEQcS8NgGvNGf9vF7MaKccMMP1lN/rtk3XJRcT1o XamA== X-Gm-Message-State: APjAAAWAXXywlA0euZoPrIwB+6mUgFbV5udCGd701PkoHNSeBpTR87J1 KU27vfkvb8CpE0+m7XnqZxQ= 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 Cc: David Airlie , Andrew Jeffery , Maarten Lankhorst , Sean Paul , linux-aspeed@lists.ozlabs.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Noralf_Tr=C3=B8nnes?= 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 -- 2.20.1