Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp776019ybn; Wed, 25 Sep 2019 07:34:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwp7OxH02IwIgZBuA0pz5LjmwJ/HnlRwMo8pCAt1PEJVeOOq0foj2RKiCR19GFKZFFv5fZz X-Received: by 2002:a5d:4582:: with SMTP id p2mr9798975wrq.305.1569422057767; Wed, 25 Sep 2019 07:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569422057; cv=none; d=google.com; s=arc-20160816; b=jmOFN6dXiH4Mmk+6/jT9mg24esBS7YRgHQkokJcM9j3QWsYmFc33FRl0NNTtNchRMi t31Y5Aujs0Vrfzm8xX8YtuyxGz6gVqSRv9ID50FLcB5DbRGv6UuhThrBKouG4dyyYFN/ XueQIjarGaCgTaW0Q6iWKZmdOQBCVFBG11n3y56COn+5cPtVkz4BjPriPthre5yKKoBa bImS121+cXgji6astKJxQjQXLGYlD2UoYL5R/Ae4EceY07/A398kSfpZJtWKW6j13msx cOGTQBigCVN4PVAOp0joSPb5HPE2B4HQkZK9bnIVDsVGWGweWb1zkgJ8HM4YXuExsbPN /aUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=1UsUFviIKu05rnHEG7lvaQM+Z3hAF3yjMnVawuWVNFQ=; b=jiCpNdZ+8AmYb/I22rriDhBbZZhYcqFDaDBLY8Ij4XfLmT94wZr3GO3+TXy1MnWwA0 wbnav9xxcamUsIuqZDRgAvHb7QQOQIobTcCEIENJigerks1IvvYg43wlK8US4loxATlQ 5/P63+tBrGGFgsiix1RHSvsqdcw2kT4LDt06Zirq7sKJenVcVE2QLDe7klxbQjO+Ukso XsvA7bGRd3joOYy4h2xNBwXVVB5COQIn614CoC8ezxfcGPGivNRGbZKHszoQAKGn8pCj f3XANMG6MztOla2oIZ2ZmgO0udwleIRKldCVq3OzwudfnUnyMsAhhvNcja2VCnQDm30s iVAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si3573796edj.107.2019.09.25.07.33.53; Wed, 25 Sep 2019 07:34:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732493AbfIWOOU (ORCPT + 99 others); Mon, 23 Sep 2019 10:14:20 -0400 Received: from inva021.nxp.com ([92.121.34.21]:51186 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727637AbfIWOOU (ORCPT ); Mon, 23 Sep 2019 10:14:20 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id EFBCD20030F; Mon, 23 Sep 2019 16:14:17 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E2121200191; Mon, 23 Sep 2019 16:14:17 +0200 (CEST) Received: from fsr-ub1664-121.ea.freescale.net (fsr-ub1664-121.ea.freescale.net [10.171.82.171]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 5047520613; Mon, 23 Sep 2019 16:14:17 +0200 (CEST) From: Laurentiu Palcu To: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Cc: agx@sigxcpu.org, l.stach@pengutronix.de, Laurentiu Palcu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 0/5] Add support for iMX8MQ Display Controller Subsystem Date: Mon, 23 Sep 2019 17:13:14 +0300 Message-Id: <1569248002-2485-1-git-send-email-laurentiu.palcu@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset adds initial DCSS support for iMX8MQ chip. Initial support includes only graphics plane support (no video planes), no HDR10 capabilities, no graphics decompression (only linear, tiled and super-tiled buffers allowed). Support for the rest of the features will be added incrementally, in subsequent patches. The patchset was tested with both HDP driver (not yet upstreamed) and MIPI-DSI (drivers already on the dri-devel ML). Thanks, Laurentiu Laurentiu Palcu (5): clk: imx8mq: Add VIDEO2_PLL clock drm/imx: compile imx directory by default drm/imx: Add initial support for DCSS on iMX8MQ dt-bindings: display: imx: add bindings for DCSS arm64: dts: imx8mq: add DCSS node .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 86 +++ arch/arm64/boot/dts/freescale/imx8mq.dtsi | 25 + drivers/clk/imx/clk-imx8mq.c | 4 + drivers/gpu/drm/Makefile | 2 +- drivers/gpu/drm/imx/Kconfig | 2 + drivers/gpu/drm/imx/Makefile | 1 + drivers/gpu/drm/imx/dcss/Kconfig | 7 + drivers/gpu/drm/imx/dcss/Makefile | 6 + drivers/gpu/drm/imx/dcss/dcss-blkctl.c | 75 ++ drivers/gpu/drm/imx/dcss/dcss-crtc.c | 223 ++++++ drivers/gpu/drm/imx/dcss/dcss-ctxld.c | 447 +++++++++++ drivers/gpu/drm/imx/dcss/dcss-dev.c | 286 +++++++ drivers/gpu/drm/imx/dcss/dcss-dev.h | 195 +++++ drivers/gpu/drm/imx/dcss/dcss-dpr.c | 552 ++++++++++++++ drivers/gpu/drm/imx/dcss/dcss-drv.c | 182 +++++ drivers/gpu/drm/imx/dcss/dcss-dtg.c | 438 +++++++++++ drivers/gpu/drm/imx/dcss/dcss-kms.c | 321 ++++++++ drivers/gpu/drm/imx/dcss/dcss-kms.h | 52 ++ drivers/gpu/drm/imx/dcss/dcss-plane.c | 418 +++++++++++ drivers/gpu/drm/imx/dcss/dcss-scaler.c | 830 +++++++++++++++++++++ drivers/gpu/drm/imx/dcss/dcss-ss.c | 179 +++++ include/dt-bindings/clock/imx8mq-clock.h | 4 +- 22 files changed, 4333 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml create mode 100644 drivers/gpu/drm/imx/dcss/Kconfig create mode 100644 drivers/gpu/drm/imx/dcss/Makefile create mode 100644 drivers/gpu/drm/imx/dcss/dcss-blkctl.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-crtc.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-ctxld.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dev.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dev.h create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dpr.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-drv.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-dtg.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-kms.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-kms.h create mode 100644 drivers/gpu/drm/imx/dcss/dcss-plane.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-scaler.c create mode 100644 drivers/gpu/drm/imx/dcss/dcss-ss.c -- 2.7.4