From patchwork Fri May 18 08:24:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 136253 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp939424lji; Fri, 18 May 2018 01:24:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoxb3ELP7TkqfpmL1NCVySWJGbJqN7mmNGC8A+NsVgWTaaaDh5MvRtThq55q7oX7lno2pSD X-Received: by 2002:a63:6bc7:: with SMTP id g190-v6mr6689184pgc.230.1526631886802; Fri, 18 May 2018 01:24:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526631886; cv=none; d=google.com; s=arc-20160816; b=UQLautlYgZufMcXDcz/YCvmNTwthP6qTG4QTaqQxRqFEljedoAs/RbX3jjj7WNlfHj o/MB7DJqLerRnmlA+4FuxxC2aF/wqBM+9tJ/cBZpSNWg6H18IZ3cQKmMBbicunC5XUAF PEyuBT93fWd6tcc2yLgrrRJzfqfcMDBO9Zo+EQiMtxE75Ffjs7ylEgMuQptFLtFUbCpy kO/myzGA7SFlJj+SsT7cZVW7tAB37/kGDx//R8OEGn/7q40M56K81aUwjJ5aSxUafoMm rAuvjBcgIQ3Gm1LdrpwWF3f12ep8QrqxR0VEbjStwbkrXPI7U392pi9KOd3aPOuBphHD e0dQ== 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=AVPXIbkaaqkQWofxRqgPh5VfGTVvBUWReuuhU+MtR9I=; b=TWNzvYHmK/QjkGEb+uy6dy6x0lijWNUSvcZmj2iDOnVP0t8bjqY5QEQd55UXfhnT5C bbnPs5DVzbsz/vggduaYop5TmgpZrF6gRHVmk1iOhuKs0ZErF2hRqBms3cwzuUZCvaqK ussNNylHh6jXblcZ0pLHvna6jJxPJtp7eWoZwtcYpXmiM3k1X71N2X8A0hzIRAGeXgEA fQ+sbjwqcy3B8CGtYa3NO0hiyHvVonzZAyjXw9Ot92+qFHQzUKTJfz3YlL+07tEbg2Qb 5m6KkEbEjGkSGnxOsMV3rFFEFo8B8Vo6hPOkb4eesoGWGYArOfEM1kXXjhMgCyWNM47f xL0A== 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 Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r12-v6si3209440pgf.653.2018.05.18.01.24.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 01:24:46 -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 Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B03196EC03; Fri, 18 May 2018 08:24:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) by gabe.freedesktop.org (Postfix) with ESMTPS id 37EA26E48E for ; Fri, 18 May 2018 08:24:35 +0000 (UTC) Received: from e110455-lin.cambridge.arm.com (e110455-lin.cambridge.arm.com [10.2.131.15]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id w4I8ONjR016404; Fri, 18 May 2018 09:24:23 +0100 From: Liviu Dudau To: Mali DP Maintainers Subject: [PATCH v7 0/5] drm/mali-dp: Add support for memory writeback engine Date: Fri, 18 May 2018 09:24:18 +0100 Message-Id: <20180518082423.15500-1-Liviu.Dudau@arm.com> 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: Maxime Ripard , Daniel Stone , Boris Brezillon , David Airlie , Alexandru-Cosmin Gheorghe , LKML , DRI-devel MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, Updating the Mali DP memory writeback engine support series to match the latest generic writeback connector support posted here [1]. As the generic patches look ready to be merged into drm-misc-next, I'm sending the updated Mali DP driver as well. Changelog: - v7: Added support for DP500 writeback. It behaves differently from the rest of the IP portfolio, but because customers are asking for it to be supported in mainline, we're adding it here. - v6: skipped, in order to align with latest generic series numbers. - v5: https://lists.freedesktop.org/archives/dri-devel/2017-May/141799.html Best regards, Liviu [1] https://lists.freedesktop.org/archives/dri-devel/2018-May/177125.html Brian Starkey (2): drm: mali-dp: Add RGB writeback formats for DP550/DP650 drm: mali-dp: Add writeback connector Liviu Dudau (3): drm: mali-dp: Add support for writeback on DP550/DP650 drm/mali-dp: Add writeback support for DP500. drm/mali-dp: Add RGB writeback formats for DP500. drivers/gpu/drm/arm/Makefile | 1 + drivers/gpu/drm/arm/malidp_crtc.c | 9 ++ drivers/gpu/drm/arm/malidp_drv.c | 19 ++- drivers/gpu/drm/arm/malidp_drv.h | 3 + drivers/gpu/drm/arm/malidp_hw.c | 165 ++++++++++++++++--- drivers/gpu/drm/arm/malidp_hw.h | 21 +++ drivers/gpu/drm/arm/malidp_mw.c | 253 ++++++++++++++++++++++++++++++ drivers/gpu/drm/arm/malidp_mw.h | 18 +++ drivers/gpu/drm/arm/malidp_regs.h | 18 ++- drivers/gpu/drm/drm_atomic.c | 4 + 10 files changed, 484 insertions(+), 27 deletions(-) create mode 100644 drivers/gpu/drm/arm/malidp_mw.c create mode 100644 drivers/gpu/drm/arm/malidp_mw.h