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: 10880911 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 01B90139A for ; Tue, 2 Apr 2019 02:19:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E15A420CCF for ; Tue, 2 Apr 2019 02:19:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5A53212D9; Tue, 2 Apr 2019 02:19:47 +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 8428B20CCF for ; Tue, 2 Apr 2019 02:19:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EEDFB6E2B6; Tue, 2 Apr 2019 02:19:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 88DC06E2B6 for ; Tue, 2 Apr 2019 02:19:44 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id 9so5512668pfj.13 for ; Mon, 01 Apr 2019 19:19:44 -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=q4dmTZWfGTNCe93Q9QzeabUUSi8m2inN73CFZRmD4XI=; b=aFIJlhpxWjblgDck7/EawCndk+oWxI78cO5QbfkfiOZR+Y4csXbb9RUoamcbpdLFWE 999bht9T/LKGgHfyOH81YbZcXNSxr3A6fDG/87ieDJeYCVbOWXSLeSGmd/k3/afzazQI 1lvVsWRdwuZQVtqwKM9unO/5cQhMfGVbxXLCfRK4HYkbsndnzvMwwY7QAbr16Jw/CDV6 X/MMU4zdAp/WOZccw28qaCPRsWVUtYVADgrR4+HMFv8ORcw2Kza5lS4MhRCoDBcsK9IC 1IqKnCu1pQQ54eequZOXPxL8kkN3ccbjTKCA+8JkmU9mh05y880eSoFBIOjh3INEsNEt r1Fw== X-Gm-Message-State: APjAAAUvmQdohhzuQSU5+9TCL17VKcVMIiPVMrw3y0/O6o6Iix4CW2tL lTm57D2uDH5FRczKnqy8WKM= 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-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=q4dmTZWfGTNCe93Q9QzeabUUSi8m2inN73CFZRmD4XI=; b=hn+OqWbZxW1bqPhEYBa/L/yGtjkG3EiOEzpQ9uhCLKKMbTnBY8QELM/yWzSzvtDeWb dk8Xbj6jr858Ht9EsoCWs4jZqLedzVeykk55A51sw2rpK447rPVklOFAfPuuBRvo+Uxo OsYgMRxBJoBimFY+B/Kzy4u5ndj1dE9HX/Xg+jW6SD9PdFYVD5j0YADGpCnsP1zpFgbL lHM22KHLw8v8TYTBp3ITiGtHG6d7l8Xu9js9Icl+dSQt6tkcnWKLg+bZj2pPnhXdxK+d RTue2vuPxxM4mTr7mvEz+vXdggt3zyNddpDGVu8X75Uo8s1nv6nkgTIeKPC40bfKv2Qh pmaA== 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 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