From patchwork Tue Jun 12 14:08:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liviu Dudau X-Patchwork-Id: 138356 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5404929lji; Tue, 12 Jun 2018 07:09:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKhUXfQzzoFMbxhosH3dI0shZ4su4lvlI78ybs/kXG3rAV0JYXYUgZQc9uvJtboZKqnN2kd X-Received: by 2002:a17:902:1121:: with SMTP id d30-v6mr592525pla.247.1528812550950; Tue, 12 Jun 2018 07:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528812550; cv=none; d=google.com; s=arc-20160816; b=xC5yjlkyJrR/g+dmOvJ8f1hMz3tNca+6OXEii6cqot9OwtivGH7LQkD676CjihCdNW hJAIvynr9BjzmEIiND7fAdtKLxXox9D2SIKebY6T1tP59ZwOH4JvXYiOufmqQ1479GmP ScsqkujVb6twU1wWLRRRhz/Ci0q+58Uae7VGq0CCdNvTZFXyRuKQYXYftQQ6zwQWht07 Wu1WqW3JIGnZMeYfEcgl/NPQh4aiefHTeZYygI78TX3fzb3FIdt9A28vsR9O0u67UvJq z63afqvH0sJhFIquhtTOkk8pKBQGXT7wogwkZq46cKm0quXkXe+joyLxhKxoFsai/E6r XPwg== 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=fiICSQrAY5i07gsENrr0PPZMM1vCubaYDFNvRfs/QbM=; b=dgcXF4zUaqIy2Z8KFl8QNEH3IaYRLzk+QWdLqX4M70HUOnPHilILIDg+RF9ZRue/Wo UJ8NLKW0ExQZAQ5r3lYIYT16HV4Cpfy7ZzDP06Udje7Sy5MDG408XJh+v5Ho16gCx9mL +SmbxLNw/C3XRHq6ROUID7CtK008iagAJaqd61whczXlr//+jPhTi0Lc+342CY1XGP9K D2SpwnH6G62lc3bRJfj3IsUdUIUtZ2SHJQEuadBVvTkdf42H6wQp/0e1W+8zjRWdESGx zkEcr/9mdx5GEZ3DwnwFi6cy6JYCSnHj4mOBEGNNy8EoxtwRMpLzZlnU5zGL70u/i5ze UCNQ== 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 e33-v6si226218pld.231.2018.06.12.07.09.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 07:09:10 -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 C5BB76E509; Tue, 12 Jun 2018 14:08:37 +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 32E9E6E505 for ; Tue, 12 Jun 2018 14:08:34 +0000 (UTC) Received: from e110455-lin.cambridge.arm.com (e110455-lin.cambridge.arm.com [10.2.131.61]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id w5CE8DwO031673; Tue, 12 Jun 2018 15:08:13 +0100 From: Liviu Dudau To: Mali DP Maintainers Subject: [PATCH v8 0/5] drm/mali-dp: Add support for memory writeback engine Date: Tue, 12 Jun 2018 15:08:08 +0100 Message-Id: <20180612140813.20419-1-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.17.1 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 v10 generic writeback connector support posted here [1]. Changelog: - v8: Addressed feedback from Brian wrt the state tracking that we deploy for DP500 and the timing of the CVAL setting. Also added SPDX license identifiers for the newly added files. - 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-June/179753.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 | 10 ++ drivers/gpu/drm/arm/malidp_drv.c | 35 +++-- drivers/gpu/drm/arm/malidp_drv.h | 7 + drivers/gpu/drm/arm/malidp_hw.c | 176 ++++++++++++++++++--- drivers/gpu/drm/arm/malidp_hw.h | 21 +++ drivers/gpu/drm/arm/malidp_mw.c | 250 ++++++++++++++++++++++++++++++ drivers/gpu/drm/arm/malidp_mw.h | 14 ++ drivers/gpu/drm/arm/malidp_regs.h | 18 ++- drivers/gpu/drm/drm_atomic.c | 4 + 10 files changed, 504 insertions(+), 32 deletions(-) create mode 100644 drivers/gpu/drm/arm/malidp_mw.c create mode 100644 drivers/gpu/drm/arm/malidp_mw.h