Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2063595imm; Thu, 21 Jun 2018 06:44:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLL/ejJCCrvgqgj+CA+KrspzwjyYGPpLG4/2HdiZTJvyfPe1U7S5tpUwkRA9B6D8CBPUccs X-Received: by 2002:a65:64c6:: with SMTP id t6-v6mr22752585pgv.223.1529588667428; Thu, 21 Jun 2018 06:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529588667; cv=none; d=google.com; s=arc-20160816; b=ON9NctCYP7JHKYGNqO7FzXZlcSikM8GxdtpJuuPBNDIKggTAThhJh9Ou9sXFnBKNg/ O+xzqx4TASzeLfuOQ/L/ckQGd24JDdcy6vgAAJV6aIqViqd78Jsw52sVuOIChR4qXAId foKDM/4El7+ViQGAAUvDOp7XkeLKTCUArWaYtipOzwmsKczOE/UN9EDvNboDWh0Qrbx7 MF/D7nQyIYRcvgue8+xiQudRw6Gnw2rFjjoOWTG7nT1TDlxlDsmnmUIub1D4xHv2QQ1n 9a7O9pKY90fwxVHytgJLg5ASMRpJvR0+zVfuldGBQRWJsPrnlVmJqJvdw0mp8STMkafo 4bhg== 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=0MJXtjSBQfBrmY3oxMNmxPV4+XJ2yYYhTnHdce4A0ek=; b=O0EfE+cnqn+wGR7zQyZPM2TaMgD2CyO5I2tsCl7isdTQO38MM9vBU/s57lQUI3ltmm Ds4bBX4GNd3P/IwICMlSgly7ViR5fdkclotnKJC91p5Ya3mvGZPLr/Msg86tUdJ7TYHe bE4Z+XhHMKa1ydeTDYT8XeEcUwBj+jLQuXvA+KUWFrTNbXjcd+poAX++1gt0z070yvDM ecIbIa/afKCF4+5uomhioJ7nOQohNxf6Z1QPlcYfTH08tLMzH2JHWVhyatTX24lOGVuH uLRiy+BCNmixh97zB/471p4hGRZzZKa6Oe5/pVHT42t9ea4JHN0bj0/SwQGFvJFh6U4E CYAw== 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 f186-v6si4665315pfg.194.2018.06.21.06.44.13; Thu, 21 Jun 2018 06:44:27 -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 S933414AbeFUNnE (ORCPT + 99 others); Thu, 21 Jun 2018 09:43:04 -0400 Received: from kozue.soulik.info ([108.61.200.231]:40758 "EHLO kozue.soulik.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932828AbeFUNnD (ORCPT ); Thu, 21 Jun 2018 09:43:03 -0400 Received: from misaki.sumomo.pri (unknown [IPv6:2001:470:b30d:2:ec4:7aff:fe92:7ff4]) by kozue.soulik.info (Postfix) with ESMTPA id E6660100CDA; Thu, 21 Jun 2018 22:43:42 +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 v2 0/2] Add support for a YUV 10bits pixel format Date: Thu, 21 Jun 2018 21:42:41 +0800 Message-Id: <20180621134243.9557-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. 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 | 7 +++++++ 5 files changed, 36 insertions(+), 2 deletions(-) -- 2.14.4