From patchwork Fri Oct 31 22:54:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 5207741 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AB907C11AC for ; Fri, 31 Oct 2014 23:57:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EC60E20173 for ; Fri, 31 Oct 2014 23:57:28 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 2C16020120 for ; Fri, 31 Oct 2014 23:57:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A69A6E8AA; Fri, 31 Oct 2014 16:56:43 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by gabe.freedesktop.org (Postfix) with ESMTP id BCB7F6E84B for ; Fri, 31 Oct 2014 15:57:14 -0700 (PDT) Received: by mail-pa0-f52.google.com with SMTP id fa1so8591108pad.11 for ; Fri, 31 Oct 2014 15:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MlFroIlswSp3GNlyx2iOW4kGj34CY03/r50GjhY6ZBU=; b=IUKoePG+g/Wx//wFxOVwLsnN4R5n8rlY/a+hIFWTORQW8v/qTlCwZIyWPAMF2nucSq 5U/h3StMu7d8uwEBCqoybbbCKZ8df0ydaJxPUOzQREui2r1E5Gxp8d9LYRLHXJ4/eet/ 44QRt3k94kwsA2RjFi5Stj5rDKo13o7mt3m2gAAwG7SsnEME8KR2bbgUqwWCfvNZnh6T sVj5GzeCeO9BPl7tAua1Xw8/+aSDWH0r6kf4lezd0X3kq6c4d5KNOBOpWO+3Cepz/wyx u4nQ7M84sU739e+XUCb+Md0b8I0/Vec0B0gFsYVcDb1FQn923J9YWkswSMXJjR0G9O1J mqbw== X-Received: by 10.68.162.100 with SMTP id xz4mr27741581pbb.138.1414796234654; Fri, 31 Oct 2014 15:57:14 -0700 (PDT) Received: from mothership.mgc.mentorg.com (c-50-152-159-227.hsd1.ca.comcast.net. [50.152.159.227]) by mx.google.com with ESMTPSA id ev8sm10870656pdb.28.2014.10.31.15.57.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Oct 2014 15:57:14 -0700 (PDT) From: Steve Longerbeam X-Google-Original-From: Steve Longerbeam To: dri-devel@lists.freedesktop.org Subject: [PATCH 32/72] gpu: ipu-v3: Add RGB666 interface pixel map Date: Fri, 31 Oct 2014 15:54:15 -0700 Message-Id: <1414796095-10107-33-git-send-email-steve_longerbeam@mentor.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1414796095-10107-1-git-send-email-steve_longerbeam@mentor.com> References: <1414796095-10107-1-git-send-email-steve_longerbeam@mentor.com> X-Mailman-Approved-At: Fri, 31 Oct 2014 16:56:31 -0700 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adds RGB666 to the pre-loaded interface pixel maps. Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-dc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/ipu-v3/ipu-dc.c b/drivers/gpu/ipu-v3/ipu-dc.c index 23b6e2c..955adab 100644 --- a/drivers/gpu/ipu-v3/ipu-dc.c +++ b/drivers/gpu/ipu-v3/ipu-dc.c @@ -102,6 +102,10 @@ static struct ipu_dc_if_map predef_maps[] = { .v4l2_fmt = v4l2_fourcc('G', 'B', 'R', '3'), }, { .src_mask = {0xfc, 0xfc, 0xfc}, + .dest_msb = {5, 11, 17}, + .v4l2_fmt = v4l2_fourcc('R', 'G', 'B', 'H'), + }, { + .src_mask = {0xfc, 0xfc, 0xfc}, .dest_msb = {17, 11, 5}, .v4l2_fmt = V4L2_PIX_FMT_BGR666, }, {