From patchwork Mon May 28 12:26:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 137075 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2762405lji; Mon, 28 May 2018 05:27:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpcNEA2aQQabmR7Wgnd5IUawYUjg4PbN1Tv2doME96zHHSd4Yw1CKi6fjIxqlOsbgDMjL+y X-Received: by 2002:a63:7c43:: with SMTP id l3-v6mr10637045pgn.0.1527510459082; Mon, 28 May 2018 05:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527510459; cv=none; d=google.com; s=arc-20160816; b=ENzC4inmUgNrtNYc5ckzHbDFh1RguR7bpYKz7Da7EU2H5fa6kw6eTMOtUYoENQ+Vxv w20QYt0TB8eYfHCDwFRowZEfGwo7u+NQZoA9maRe3Il8IzZzjQ1mAckdhtlASTSech7s 3SiJAVQ5qarZ1+D+i+8f1G3ii5bVJE/Ay6VVkOCvjA50AepbGNpYlDa8kAu8MBPHXTGn fzhxX8v79WboY8F7ElO/KKmfOrCzj74e5i3Z0WhzLnkmGzttaLn8jI6J4rJuDAPccLZ8 CBZd+bckr/NR4WinesedV8wXLXQX0LiVC+9k3n1OVRdhkQVrE6J5xmeSEtaIs1qkAlhG p4/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=kRrbia0pD+eNt8PBLJJTOfiozT/g45ZYwI6YvNnTvBU=; b=rlLkv+OGU71uAZgVw0eTx7ifrDzXvmWDUk8SE0QXtC8h3TwDvnp/+COoOagBa0AaY8 1ZFzH/xl2N7pDkaQuD5wDLWNYM+smWAdvCu6cWZCxQtn55u9YFkwrFENMJNj788++nn4 lphb3OzmSlLkeVIC2619ZTgdjZFmlDuEdBWbdikTPFELGvYiq4tJsLIlW7WUmA9xYGCU oQTvxQ28NFPo8c7Ppec7z0CxzkwIa/n6sZcWLkZdgnwSH/DdDFDRaaew2dcbaO7Tzfur xlse5c/hTnKORQASbQ0k9XjvkzsYGoAMrmfFfZgzWv0khib/z0yk/6vQ52vKWbKMduvu Nv0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 91-v6si9676962ple.308.2018.05.28.05.27.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 05:27:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D9E36E124; Mon, 28 May 2018 12:27:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id C9FE56E124 for ; Mon, 28 May 2018 12:27:05 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id f6-v6so31716229wmc.4 for ; Mon, 28 May 2018 05:27:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yJxw6TQwJMAMGrWKehhE6fSw3jS9ARX+JNUQQfGxg2s=; b=e7fDdv5/x1riMFBwE1wzGaqW7nrG0mV6Hvg2IhP7uWoFOGPhRD7w0e/XBOuw3/9Ky8 AdrhcMZj1nrB3yiA8xg2HPRrj8X57RozKDxjjMVXeaqk0S8ibWWF7Q1ol/Pl++P1dSf9 DmXs0AP711y22MejGw963oSHdfKeLRZ08FIL6YajM/lBUGyc6E195fKUmeiG0Sv7udxw QvY/LmUE5HQRnCA+mGCTfz/tpeg9MdzfWorgLbZR2BSBtHpkr2qwo7ftLqwL0s8b6fQu PlMXV645VBwSds8nEoU786O3ihA1bZ3vLwN+FRWdLsGbwG46RgBWGaTMg/TMopniboHi gx7A== X-Gm-Message-State: ALKqPweLqASchAPVmmPel8KFdp5apP4jphtviXSLvFXI/nD7xEXOlGUG 4+hu65S7esc6uQ3ze/8Cb/Y73OcNE4c= X-Received: by 2002:a2e:5559:: with SMTP id j86-v6mr8335295ljb.147.1527510424255; Mon, 28 May 2018 05:27:04 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q25-v6sm1030881lji.41.2018.05.28.05.27.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 May 2018 05:27:03 -0700 (PDT) From: Linus Walleij To: Sudeep Holla , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] Switch Versatile Express to use PL111 DRM driver Date: Mon, 28 May 2018 14:26:54 +0200 Message-Id: <20180528122658.3241-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.17.0 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: Liviu Dudau , dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Sudeep/Lorenzo, this series of 4 patches (maybe you have even queued the first patch) will switch the Versatile Express over to using the new PL111 DRM driver instead of the old fbdev driver. There are both DTS updates and defconfig updates. Surely too late for v4.18 but should be fine for v4.19 (I will likely remind you if you forget it after v4.18-rc1.) The defconfig and DTS need to changed in lockstep, but usually the ARM SoC maintainers want them as two separate pull requests anyway. I think this could be quite useful, hopefully enabling things such as the generic Android and Chromium DRM hwcomposer: https://memcpy.io/android-enabling-mainline-graphics.html the improvement will be most drastic on the CA0 Versatile Express as this has only PL111 graphics on the core tile, but the fallback PL111 on the motherboard is also working for all models now. We are using CMA and CMA DMA buffers with existing DT bindings to hammer the system down to use the assigned special memory when we use the PL111 on the motherboard. Please queue this in your Versatile Express tree. To complete the transition for PL111 DRM for all ARM reference designs only Integrator/CP remains because of the special RGBA 5551 mode, but I will fix that too, hopefully also in time for kernel v4.19. The QEMU system emulator model for Versatile Express has been patched to certainly cope with these new changes as well: https://git.qemu.org/?p=qemu.git;a=commit;h=0b72476810a83de270194b1de65027e4be204779 Linus Walleij (4): ARM: dts: Restructure Vexpress motherboard includes ARM: dts: Modernize the Vexpress PL111 integration ARM: defconfig: Update the vexpress defconfig ARM: defconfig: Enable the PL111 DRM driver on vexpress arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 692 +++++++++--------- arch/arm/boot/dts/vexpress-v2m.dtsi | 691 +++++++++-------- arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts | 17 +- arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 19 +- arch/arm/boot/dts/vexpress-v2p-ca5s.dts | 19 +- arch/arm/boot/dts/vexpress-v2p-ca9.dts | 46 +- arch/arm/configs/vexpress_defconfig | 24 +- arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 14 + .../boot/dts/arm/rtsm_ve-motherboard.dtsi | 37 +- .../boot/dts/arm/vexpress-v2f-1xv7-ca53x2.dts | 5 +- 10 files changed, 773 insertions(+), 791 deletions(-)