Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2557639pxv; Sun, 11 Jul 2021 18:04:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKdwoYBliMNIk9kuOptg9oUeQnE9B22r3q4sGeSb7CrKqGobuWqRAICvvyaWgGc8HHgR8f X-Received: by 2002:a92:3647:: with SMTP id d7mr35863495ilf.231.1626051865157; Sun, 11 Jul 2021 18:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626051865; cv=none; d=google.com; s=arc-20160816; b=yzXV4de/tUfzvHYgnxXkL5/bP3DaoYNeDW2kl4t+6VOLPYxhJBtgPbAmbF6CWz+eIh 0Mr53eyCEwLv0a/k2YiZ/qTKGfVgmhN8y1vkn64beOlWwP7lDvLEdTmWlHJ7VORwpgbb XDqkIuqIKqTXdDWJ/5iwIMratUPwFnM6S5xCFhlhoaQPeaUIlxJbmOkyfgNyc5XyeVVe 9wwzgVYPygyKNGiEj9AU12YF/oRJjn0cxFsWEnPJsPShQWI0GeYcV2oWq2NamRrxCufe NwAtQQEGn1aaALT9cB7L2S2Ps+CD/AJVgopXctbJ4RqPVZn3PRbqNmN1+hfv/PFznCGw g/jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=MBWKv+3OXYjqx+5TbIjhAzVWLs16UFdB3SHOlbwlWqw=; b=1BpYMXHEWx71a0CERxTztwA4VnfIT6kjLYILsEPeKTro1T+Mz8ZcqMiyfxpFh2A5r9 tmnr8IE9fN5IcNGfV7cWMWA5nxJv7ZaIxyA5LldhkqbaEH0O7ED751xR0q5CfEP18Il4 ya2Ac8+gVJD/Zow+Fg2Rn1NBmTxARlpDczA5bXLRPB3P92Q/nquzZ7ZGYM3i+wHfwk7P 0ObIcwys+U35n6sUE6mhr8bWKlTzs26OIpDgWUGx2GwiUjI6mHWk83m4uE9OtEP5oIKa ELLECBqoSi+/c1+u6LOS7syGrjl00wBx1p9C01O6zdnLonYlnnAwsxwygohv492JzFFj 8aVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si14764816iln.36.2021.07.11.18.04.13; Sun, 11 Jul 2021 18:04:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232520AbhGLBGC (ORCPT + 99 others); Sun, 11 Jul 2021 21:06:02 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:56282 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232307AbhGLBGC (ORCPT ); Sun, 11 Jul 2021 21:06:02 -0400 X-UUID: 5e22745fd2e64c1682dc8dddd4a55a8b-20210712 X-UUID: 5e22745fd2e64c1682dc8dddd4a55a8b-20210712 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1017235728; Mon, 12 Jul 2021 09:03:09 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Jul 2021 09:03:00 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 12 Jul 2021 09:03:00 +0800 From: Yongqiang Niu To: Chun-Kuang Hu CC: Rob Herring , Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , Jassi Brar , Yongqiang Niu , Fabien Parent , Dennis YC Hsieh , , , , , , , Hsin-Yi Wang Subject: [PATCH v2, 0/3] drm/mediatek: Separate aal module Date: Mon, 12 Jul 2021 09:02:55 +0800 Message-ID: <1626051778-13577-1-git-send-email-yongqiang.niu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chnage since v1: - seprate patch - keep gamma register setting with cpu Yongqiang Niu (3): drm/mediatek: Separate aal module drm/mediatek: add mt8183 aal support arm64: dts: mt8183: refine aal compatible name arch/arm64/boot/dts/mediatek/mt8183.dtsi | 3 +- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 167 ++++++++++++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_disp_drv.h | 9 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 39 +------ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +- drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 + 7 files changed, 188 insertions(+), 42 deletions(-) create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_aal.c -- 1.8.1.1.dirty