Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2275782imm; Thu, 21 Jun 2018 09:49:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLWP74cyfoZKOUstQG17RVdnv52RmQt0Rh7HfudMi2dMPruxrElr54LRfoZ3Te8tKmlWSZi X-Received: by 2002:a17:902:ba8a:: with SMTP id k10-v6mr29249134pls.338.1529599748520; Thu, 21 Jun 2018 09:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529599748; cv=none; d=google.com; s=arc-20160816; b=sDxjfz81E2hg3OMUedryOc8YRa3eN/MEQ67ROWfeWtDjMmAi0TV9Rg0uc9EX8bd/lB BKgo3LIeslzLBeKnySpHkTWcCoR+vsw/kPusEkYEA49lJcMDTPeUTGRfxVUko5Xnqcx8 OjpCMK8H5R9qcZV1Q1mNJu1IZxn6MSmDCEbYvmFHJSvDw94W27ojJJJCzR77mbofhWid rX9QQWSJjY+R9lMLmcSnwmCjXzZAfbG/9eEFfMH0F57dADoMRaqLkTb3h9Q/pq7R/Xgy QDqXqIenNak4EsuahaxxxfS8tdqyCW/2fnp6tRrewh3RIdlw3IfcQpq8Hy6sGRjrWclO 3t6A== 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 :arc-authentication-results; bh=rFOlzqEbvJ5TrJFH4ofnrlMeIhJqP0JpTiOItEubgcY=; b=QCSdviDTNQX0gFPTrpQbygNkaJ+/AzqUoKCLlgz5oBeO1MZWe3Qo+C2wd+vjhk5KvB hegFor0CqScyXSS5wOsRuT3bP9GTS9FN9YcPFuiD2XEcc8sCuLSS8o6rXAmbCvePv5Eg +ZZMEnjKdi/Ckv4u6qPtl6UtxAHle4fyaimbQU6TskO0aEBoBDR+Yezn1sFFPv7u19x8 RMuP6K3g3uEpfZjA8qI/VluFoWqiXftWw8+9lNSfJaDwMMY7VNxbZDUUHtu/+sBQxRfS 7k7vgTAiz09fkr1GUNaPpD4+X/hAGPxZqhKqk4sQ7P2e9OA6TsOKZ6PGErJKYxc0HOhm hRZA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91-v6si5249559ple.308.2018.06.21.09.48.53; Thu, 21 Jun 2018 09:49:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933525AbeFUQrz (ORCPT + 99 others); Thu, 21 Jun 2018 12:47:55 -0400 Received: from kozue.soulik.info ([108.61.200.231]:40946 "EHLO kozue.soulik.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933391AbeFUQry (ORCPT ); Thu, 21 Jun 2018 12:47:54 -0400 Received: from misaki.sumomo.pri (unknown [IPv6:2001:470:b30d:2:ec4:7aff:fe92:7ff4]) by kozue.soulik.info (Postfix) with ESMTPA id 3E082100CDA; Fri, 22 Jun 2018 01:48:33 +0900 (JST) From: Randy Li To: dri-devel@lists.freedesktop.org Cc: Randy Li , hjc@rock-chips.com, heiko@sntech.de, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, nicolas.dufresne@collabora.com, gustavo@padovan.org, seanpaul@chromium.org, airlied@linux.ie Subject: [PATCH v3 0/2] Add support for a YUV 10bits pixel format Date: Fri, 22 Jun 2018 00:47:35 +0800 Message-Id: <20180621164737.23611-1-ayaka@soulik.info> X-Mailer: git-send-email 2.14.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the last time, I got some feedback and not a clear guide on what I should do. So just give more comment on describing this 10bits format. Whether I should add bpp instead cpp in drm_format_info and update a numbers of functions is up to you guys. And I don't any other driver would request 10bits yuv format support, so I can't add the pixel format they don't use as I did a year ago. You would ignore those patches. v3: I put a code comment in a wrong commit in the previous commit, move it back. v2: add more comment to describe this pixel format Randy Li (2): drm/fourcc: add a 10bits fully packed variant of NV12 drm/rockchip: Support 10 bits yuv format in vop drivers/gpu/drm/drm_fourcc.c | 1 + drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 27 +++++++++++++++++++++++++-- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 1 + drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 2 ++ include/uapi/drm/drm_fourcc.h | 8 ++++++++ 5 files changed, 37 insertions(+), 2 deletions(-) -- 2.14.4