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: 10882487 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 7EB721390 for ; Wed, 3 Apr 2019 00:19:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D110289E1 for ; Wed, 3 Apr 2019 00:19:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C922289E5; Wed, 3 Apr 2019 00:19:24 +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 DF631289E1 for ; Wed, 3 Apr 2019 00:19:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B3FA7891DC; Wed, 3 Apr 2019 00:19:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by gabe.freedesktop.org (Postfix) with ESMTPS id 64DBC891D9 for ; Wed, 3 Apr 2019 00:19:20 +0000 (UTC) Received: by mail-pl1-x643.google.com with SMTP id bf11so7068931plb.12 for ; Tue, 02 Apr 2019 17:19:20 -0700 (PDT) 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=Soqf7WzFykYFcKf03FxOK7YF3brhpt08NNl2fP2lOM/TUgxFxCbwMCEYktrs7qt32U tDEccDZI/R4hxrbWn7KdU1COn9DDXNvFNNCZM+76b5SHXbe1Mvd/hP5p5u54G2NYbalV BcudfLE5b87hXzvumXaOJR8yO694iylkMhPcbRkTMk3aiLoMJSYO4lTNKDnnr8/wx66E 6W8afbCQFyyvZ9+80VKC4i812ypFTclNeZVT4aoVPEVILRRv6jDciS4I/5MCVsc2eMMd jxlFg28fItzO2HA8Si4VPenHIKDRau+DljzuG0fqQuw2jEX9/6YyX2M4RSJAbI2BTCnf Xv/Q== X-Gm-Message-State: APjAAAUxrJwb4bkJZH56ISQfZwrf8BsaLY+zM6Ui1qErCAK0T8Bm2FVw hYhork0jlDlYKfq2Fewc5xCTQ7DLyzM= 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-Mailman-Original-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-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: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, David Airlie , dri-devel@lists.freedesktop.org, Andrew Jeffery , Sean Paul , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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