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: 161588 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1187641jan; Mon, 1 Apr 2019 19:19:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTtfMslOL2+kJM4gkPL8LXZexm4Ebq2zt04r5SWvZcDqtjxjfQCwjQQ+StM5peI8B6PMTF X-Received: by 2002:a63:79c3:: with SMTP id u186mr19315960pgc.20.1554171586011; Mon, 01 Apr 2019 19:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554171586; cv=none; d=google.com; s=arc-20160816; b=hDewF4SnQi+mf6ICSM7Wf0OUoG8HsP3/YlEIlFYtHHxkqxV/rVVgn/2jo+voTLYSk/ +stFu9d0sPs3MDUmbNoSBKa9MRd/ow5I5pk7boQAVAzAC92p6fP/qFfWpMxZK7mmKjzb fgXYndgiLScqT2VL5jZCqpJNdgVl5yn9sk6K0/g0fFMqj8b0zlcosdHRXwUc08jDLK8J mBKjDC7WSh24m35JHxOm+/Xc1BpvDEgBJzFrRX3dAQwvq9U+vNENgX1skGwWWAbitq5Y XVU1l7IGNL4lSZmtopvucDEwqteniTDkrwP8hLlEwudL9b9LiZ99mJtod3s1FLLaSXsN Byag== 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=q4dmTZWfGTNCe93Q9QzeabUUSi8m2inN73CFZRmD4XI=; b=XSb2iNYmY5dUOagSeaWJFGqgahou5uw94+PsAtQUcsY7Ehnd1ygtAMF3dMJ0YLWRmq q7XZNDjWWfXUe5mzra+bDjk9pRubpggk27Uz3AiZfnL19KNUOAI1R2whMYjXJK/BESpI U6pL3F9kEih8Ne2Xv6QnG3Z9TmULzNR1lCLSAo/PLMzAqVtX5S6zqapZRMPgXKKx4G/6 EqowBmF6FOvXgpg/mv1ikcmNyka+7XFRUaiLu/n0I7b+wr7sBA3iigofL4f40vUwcfwb JQpVVheBgjiJI38tkd368lm/4CaHv7HAbn+j3TdZQKwz4saB6GPVJGqZcAAkQaqloYFK ngyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hn+OqWbZ; 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 d33si10298895pla.315.2019.04.01.19.19.45; Mon, 01 Apr 2019 19:19:46 -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=hn+OqWbZ; 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 S1728483AbfDBCTp (ORCPT + 7 others); Mon, 1 Apr 2019 22:19:45 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33606 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbfDBCTp (ORCPT ); Mon, 1 Apr 2019 22:19:45 -0400 Received: by mail-pf1-f193.google.com with SMTP id i19so5533185pfd.0 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=FgBTEDzUHQLPsXWO8X+KFZZFQTom9im6ZCmmkFKVFmD6pMZfjF+N9zb7qAssD4QbUk sZf4puKV9o693hMsuwcLGt3Ruzxt3RzDsZFsQTDZ6Iyy6JHd4pkL/hBkMc2kZa0lLtX4 021DWHCFDWMZ+SqiWdmc4XGChDF1RjFmqnhcuFoyeP9BZWE7EoK0nN4a+fDi0jRlxoYa s0b+mf/rOVtTALjc8KG1rGYYUTY6cZgWp1niy7/hSkDC9q57UIAIv0OBFuUhuXZqctdJ fOVpdkDUiUvJf3mAsb89Pt5Usxa2icR0cgno/Jh0FV2kdrl6rm+zyPkl2tsaIYgS2824 5pvA== X-Gm-Message-State: APjAAAUWE/AORXtk1oDhw34SY/WlZ9ZEUTZ31VmreRtsRsaPz21jZYML D7iugXJi4TvD6+phXfqlKKo= 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 Cc: David Airlie , Andrew Jeffery , Maarten Lankhorst , Sean Paul , =?utf-8?q?Noralf_Tr=C3=B8nnes?= , linux-aspeed@lists.ozlabs.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.20.1