From nobody Sat Feb 7 18:19:15 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCFDCEE57E1 for ; Fri, 8 Sep 2023 08:12:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242007AbjIHIMd (ORCPT ); Fri, 8 Sep 2023 04:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234422AbjIHIMa (ORCPT ); Fri, 8 Sep 2023 04:12:30 -0400 Received: from mail03.siengine.com (mail03.siengine.com [43.240.192.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6877C1BD3 for ; Fri, 8 Sep 2023 01:12:23 -0700 (PDT) Received: from dsgsiengine01 ([10.8.1.61]) by mail03.siengine.com with ESMTPS id 3888Bk7Y028237 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 8 Sep 2023 16:11:46 +0800 (+08) (envelope-from lucas.liu@siengine.com) Received: from SEEXMB03-2019.siengine.com (SEEXMB03-2019.siengine.com [10.8.1.33]) by dsgsiengine01 (SkyGuard) with ESMTPS id 4RhpjX5WhVz7ZMlT; Fri, 8 Sep 2023 16:11:44 +0800 (CST) Received: from SEEXMB04-2019.siengine.com (10.8.1.34) by SEEXMB03-2019.siengine.com (10.8.1.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.25; Fri, 8 Sep 2023 16:11:44 +0800 Received: from SEEXMB04-2019.siengine.com ([fe80::ebda:7f0d:8ee8:ab8f]) by SEEXMB04-2019.siengine.com ([fe80::ebda:7f0d:8ee8:ab8f%14]) with mapi id 15.02.1258.025; Fri, 8 Sep 2023 16:11:44 +0800 From: =?gb2312?B?TGl1IEx1Y2FzL8H1saPW+Q==?= To: =?gb2312?B?TGl1IEx1Y2FzL8H1saPW+Q==?= , "liviu.dudau@arm.com" , "airlied@gmail.com" , "daniel@ffwll.ch" CC: "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?u9i4tDogW1BBVENIXSBkcm0va29tZWRhOiBhZGQgTlYxMiBmb3JtYXQgdG8g?= =?gb2312?Q?support_writeback_layer_type?= Thread-Topic: [PATCH] drm/komeda: add NV12 format to support writeback layer type Thread-Index: AQHZ2ltn9LP8IvenzkCX2e1v2bsk4rAQoe+A Date: Fri, 8 Sep 2023 08:11:44 +0000 Message-ID: References: <20230829093004.22860-1-lucas.liu@siengine.com> In-Reply-To: <20230829093004.22860-1-lucas.liu@siengine.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.10.56] Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DKIM-Results: [10.8.1.61]; dkim=none; X-DNSRBL: X-MAIL: mail03.siengine.com 3888Bk7Y028237 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Hi all, Do you have any suggestions for the patch I submitted? Please also let me = know, thank you! Best Regards, baozhu.liu Acked-by: Liviu Dudau -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- =E5=8F=91=E4=BB=B6=E4=BA=BA: baozhu.liu =20 =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B48=E6=9C=8829=E6=97=A5 17= :30 =E6=94=B6=E4=BB=B6=E4=BA=BA: liviu.dudau@arm.com; airlied@gmail.com; daniel= @ffwll.ch =E6=8A=84=E9=80=81: dri-devel@lists.freedesktop.org; linux-kernel@vger.kern= el.org; Liu Lucas/=E5=88=98=E4=BF=9D=E6=9F=B1 =E4=B8=BB=E9=A2=98: [PATCH] drm/komeda: add NV12 format to support writebac= k layer type When testing the d71 writeback layer function, the output format is set to = NV12, and the following error message is displayed: [drm:komeda_fb_is_layer_supported] Layer TYPE: 4 doesn't support fb FMT: NV= 12 little-endian (0x3231564e) with modifier: 0x0.. Check the d71 data manual, writeback layer output formats includes NV12 for= mat. Signed-off-by: baozhu.liu --- drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c b/drivers/gpu= /drm/arm/display/komeda/d71/d71_dev.c index 6c56f5662bc7..80973975bfdb 100644 --- a/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c +++ b/drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c @@ -521,7 +521,7 @@ static struct komeda_format_caps d71_format_caps_table[= ] =3D { {__HW_ID(5, 1), DRM_FORMAT_YUYV, RICH, Rot_ALL_H_V, LYT_NM, AFB_TH}, /* = afbc */ {__HW_ID(5, 2), DRM_FORMAT_YUYV, RICH, Flip_H_V, 0, 0}, {__HW_ID(5, 3), DRM_FORMAT_UYVY, RICH, Flip_H_V, 0, 0}, - {__HW_ID(5, 6), DRM_FORMAT_NV12, RICH, Flip_H_V, 0, 0}, + {__HW_ID(5, 6), DRM_FORMAT_NV12, RICH_WB, Flip_H_V, 0, 0}, {__HW_ID(5, 6), DRM_FORMAT_YUV420_8BIT, RICH, Rot_ALL_H_V, LYT_NM, AFB_T= H}, /* afbc */ {__HW_ID(5, 7), DRM_FORMAT_YUV420, RICH, Flip_H_V, 0, 0}, /* YUV 10bit*/ -- 2.17.1