From patchwork Fri Oct 31 22:54:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 5207471 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 632569F387 for ; Fri, 31 Oct 2014 23:57:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F0F420176 for ; Fri, 31 Oct 2014 23:57:03 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id CFE8020172 for ; Fri, 31 Oct 2014 23:57:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8EA636E85C; Fri, 31 Oct 2014 16:56:39 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 41FE26E847 for ; Fri, 31 Oct 2014 15:57:26 -0700 (PDT) Received: by mail-pa0-f48.google.com with SMTP id ey11so8546792pad.7 for ; Fri, 31 Oct 2014 15:57:26 -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=z6SgrmaNlv477CFVw/hRpsAorQYNyMM6aIer8KVOYFI=; b=jyq4D/3m2CdBW4k8iDcT7lCttAcaRANVfIGrfE/23pBAXAruPxZfMzkCRDJkszrXWj O15XL4NAIBY/ZwGbgc/WZFlL8aD4cWIfTYUImG/jXwvfFa5CjVZQa8luSDa3xGHdlHoN lU8b82ZEDHrXDA6/mg/UUwd5Z1OcvYzx3S/qqs53tN3QUsf9FucSe2ElGmxzRC5NpKjf GtpI/fdt3iatIupiUDJWSIZaNm5vfEVCHQHUny+hGW++sVxfOpEM6iRDZ+U+z+Thjtad 8Vzp0z+JJFzX9KzQVvU07ZF9KihHbCEaki2lRxLEv+1P3F4mAemhN0OhZGbPCXeIfmpo aP3g== X-Received: by 10.68.200.100 with SMTP id jr4mr27843585pbc.69.1414796246159; Fri, 31 Oct 2014 15:57:26 -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.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Oct 2014 15:57:25 -0700 (PDT) From: Steve Longerbeam X-Google-Original-From: Steve Longerbeam To: dri-devel@lists.freedesktop.org Subject: [PATCH 46/72] imx-drm: ipuv3-plane: Add more supported pixel formats Date: Fri, 31 Oct 2014 15:54:29 -0700 Message-Id: <1414796095-10107-47-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:32 -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 Report more supported formats to drm core via ipu_plane_formats[]. Signed-off-by: Steve Longerbeam --- drivers/staging/imx-drm/ipuv3-plane.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/staging/imx-drm/ipuv3-plane.c b/drivers/staging/imx-drm/ipuv3-plane.c index cbd300b..5818249 100644 --- a/drivers/staging/imx-drm/ipuv3-plane.c +++ b/drivers/staging/imx-drm/ipuv3-plane.c @@ -29,10 +29,18 @@ static const uint32_t ipu_plane_formats[] = { DRM_FORMAT_XRGB8888, DRM_FORMAT_ABGR8888, DRM_FORMAT_XBGR8888, + DRM_FORMAT_RGB565, + DRM_FORMAT_RGB888, + DRM_FORMAT_BGR888, DRM_FORMAT_YUYV, + DRM_FORMAT_UYVY, DRM_FORMAT_YVYU, DRM_FORMAT_YUV420, DRM_FORMAT_YVU420, + DRM_FORMAT_YUV422, + DRM_FORMAT_YVU422, + DRM_FORMAT_NV12, + DRM_FORMAT_NV16, }; int ipu_plane_irq(struct ipu_plane *ipu_plane)